Skip to content

Releases: yoriiis/chunks-webpack-plugin

ChunksWebpackPlugin 7.0.0

08 Nov 15:50
e63ea1f
Compare
Choose a tag to compare

7.0.0

New features

  • Add the filename parameter.

Updates

  • Add the webpack v5 compatibility and the backward compatibility for the v4.
  • Use the processAssets compilation hook to create templates and the chunks-manifest.json file.
  • The plugin requires at least Node.js 10.13.0 (LTS). The engines.node is updated in the package.json.
  • Update the nodeJS version in the Github Action

Removes

  • Remove the outputPath parameter. Templates are generated in the the webpack output path. Use the filename to customize the output directory.
  • Remove the fileExtension parameter.
  • Remove the fs-extra package in favor of the file system exposed by the webpack compiler. It use the graceful-fs package.
  • Remove the utils and move useful functions into the main file

ChunksWebpackPlugin 6.1.0

05 May 21:45
4fc512f
Compare
Choose a tag to compare

6.1.0

Fixes

  • Fix isValidCustomFormatTagsDatas function too strict, styles and scripts keys can now be empty if no chunks are found.

HTML files will not be written on the disk for empty chunks

Updates

  • Update the second parameter of the function customFormatTags. files is replaced by Entrypoint. See the dedicated section in the README.

ChunksWebpackPlugin 6.0.1

01 May 16:35
379467d
Compare
Choose a tag to compare

6.0.1

Fixes

  • Fix missing publicPath

ChunksWebpackPlugin 6.0.0

27 Apr 16:43
c15a8a5
Compare
Choose a tag to compare

6.0.0

New features

  • Add Typescript to the Webpack plugin

Updates

  • Replace Travis CI by Github Actions

ChunksWebpackPlugin 5.0.0

02 Apr 15:35
fa134ca
Compare
Choose a tag to compare

5.0.0

New features

  • Add Husky pre-commit with eslint, markdown and test scripts

Updates

  • Rework and split code into small functions to facilitate testing
  • Complete rewrite of tests

Breaking changes

  • Change default value of outputPath constructor option from default to null. If the parameter is omit or null, the plugin will use the options.output.path option from the Webpack configuration.

ChunksWebpackPlugin 4.0.3

31 Mar 21:33
Compare
Choose a tag to compare

4.0.3

Fixes

  • Options generateChunksManifest and generateChunksFiles can now operate independently #53

Updates

  • Improve Jest tests

ChunksWebpackPlugin 4.0.2

28 Mar 15:42
be23b15
Compare
Choose a tag to compare

4.0.2

New features

  • Add Stryker mutation in the Travis CI to improve tests quality

Updates

  • Update customFormatTagsDatasIsValid function to prevent empty content
  • Simplify customFormatTags check (replace typeof and Boolean by instanceof)
  • Update Jest tests with mutation testing
  • Update dependencies

ChunksWebpackPlugin 4.0.1

23 Feb 11:42
Compare
Choose a tag to compare

4.0.1

Updates

ChunksWebpackPlugin 4.0.0

31 Jan 17:59
Compare
Choose a tag to compare

4.0.0

Updates

  • Refacto chunkGroups, use compilation.entrypoints Map object to get all valid entrypoints and associated files
  • Update ESLint config, add semicolon on all Javascript files

Removes

  • Remove build npm script, use directly ./src directory as entry point

ChunksWebpackPlugin 3.4.6

28 Jan 18:34
Compare
Choose a tag to compare

3.4.6

Fixes

  • Fix comptibility support with Webpack v4.0.0 #39