v1.0.0
New features
New htmlAttributes option to change <html> tag attributes, generate <html lang="en"> by default.
const MiniHtmlWebpackPlugin = require('mini-html-webpack-plugin');
const config = {
plugins: [
new MiniHtmlWebpackPlugin({
context: {
title: 'Webpack demo',
htmlAttributes: { lang: 'en' } // Optional, defaults to { lang: 'en' }
},
})
]
};(#8 by @J-Kallunki)
Breaking changes
- Node 8.12 is the minimum required version.