Skip to content

Releases: styleguidist/mini-html-webpack-plugin

v3.0.0

31 Mar 15:31
Compare
Choose a tag to compare

3.0.0 (2020-03-31)

Feat

BREAKING CHANGES

  • Node 10 is the minimum required version
  • Webpack 4 is the minimum required version

v2.2.1

29 Jan 11:09
5e6658a
Compare
Choose a tag to compare
fix: Add Node 10 to Travis (#23)

This should fix semantic release since it requires Node 10 now.

v2.2.0

06 Jan 09:03
f16bf21
Compare
Choose a tag to compare
feat: Add support for head and body parameters (#20)

Add support for `body` and `head`  to default template.

Closes #19.

v2.1.0

08 Dec 17:42
Compare
Choose a tag to compare
feat: Add support for `chunks` (#16)

This feature is similar to the one in html-webpack-plugin and it's required for multi-page setups.

v2.0.0

19 Jul 11:47
Compare
Choose a tag to compare

New features

  • Add attributes option to generateJSReferences and generateCSSReferences (resolve #5) (#11 by @pldg)

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

17 May 06:55
Compare
Choose a tag to compare

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.

v0.2.3

30 Mar 19:20
Compare
Choose a tag to compare
  • Fixed: Use new webpack 4 plugin API to get rid of a deprecation warning

v0.2.2

30 Mar 10:39
Compare
Choose a tag to compare
  • Fixed: Node 6 support
  • Fixed: Correctly print multiple scripts
  • Fixed: Make all options optional