Releases: styleguidist/mini-html-webpack-plugin
Releases · styleguidist/mini-html-webpack-plugin
v3.0.0
v2.2.1
v2.2.0
v2.1.0
v2.0.0
New features
Breaking changes
generateJSReferences
accepts an object({files: css, attributes, publicPath}
instead of two arguments(js, publicPath)
.generateCSSReferences
accepts an object({files: css, attributes, publicPath}
instead of two arguments(css, publicPath)
.
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.