chunks-webpack-plugin

Create HTML files with entrypoints and chunks relations to serve your bundles

MIT License

Downloads
10.3K
Stars
26
Committers
4
chunks-webpack-plugin - 11.0.0 Latest Release

Published by yoriiis 8 months ago

⚠️ Breaking changes

  • Updates Node.js (#100)
    • Minimum supported Node.js version is 18.19.0
    • Updates other packages
chunks-webpack-plugin - 10.0.0

Published by yoriiis about 1 year ago

⚠️ Breaking changes

This package is now pure ESM. Please read Sindre Sorhus ESM note for more information

  • Migrate to ESM with package exports (#95)
chunks-webpack-plugin - 9.0.0

Published by yoriiis over 1 year ago

⚠️ Breaking changes

  • Fix automatic public path generation #93

Updates

  • Optimize TypeScript (#94)
chunks-webpack-plugin - 8.0.1

Published by yoriiis over 1 year ago

Updates

  • Add funding key in package.json (dd7b91c)
chunks-webpack-plugin - 8.0.0

Published by yoriiis over 1 year ago

⚠️ Breaking changes

  • Minimum supported Node.js version is 16.20.0 (#90)
  • templateStyle and templateScript parameters are transformed into functions (#91)
  • The outputPath parameter is removed. Files are generated by default by webpack compilation according to output.path
  • The customFormatTags parameter is removed. Custom generation can be done with templateStyle and templateScript functions

New features

  • Add schema validation on plugin and loader options (#89)
  • Fix compatibility with webpack cache (#91)
chunks-webpack-plugin - 7.1.0

Published by yoriiis almost 2 years ago

Breaking changes

  • Drop webpack 4 support #87
  • Drop Node.js 12 support #88
chunks-webpack-plugin - ChunksWebpackPlugin 7.0.3

Published by yoriiis over 3 years ago

7.0.3

Fixes

  • Fix incompatibility with outputPath and slashes on entry name #81
  • Fix outputPath caused [contenthash] differences in generated HTML (realContentHash)
chunks-webpack-plugin - ChunksWebpackPlugin 7.0.2

Published by yoriiis over 3 years ago

7.0.2

Fixes

  • Add webpack v5 as peer dependency #74
chunks-webpack-plugin - ChunksWebpackPlugin 7.0.1

Published by yoriiis almost 4 years ago

7.0.1

New features

  • Add the outputPath parameter to override the webpack output path directory

Fixes

  • Fix outputPath parameter ignored in 7.0.0 #66
  • Fix publicPath parameter with default value "auto" #67
chunks-webpack-plugin - ChunksWebpackPlugin 7.0.0

Published by yoriiis almost 4 years ago

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
chunks-webpack-plugin - ChunksWebpackPlugin 6.1.0

Published by yoriiis over 4 years ago

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.
chunks-webpack-plugin - ChunksWebpackPlugin 6.0.1

Published by yoriiis over 4 years ago

6.0.1

Fixes

  • Fix missing publicPath
chunks-webpack-plugin - ChunksWebpackPlugin 6.0.0

Published by yoriiis over 4 years ago

6.0.0

New features

  • Add Typescript to the Webpack plugin

Updates

  • Replace Travis CI by Github Actions
chunks-webpack-plugin - ChunksWebpackPlugin 5.0.0

Published by yoriiis over 4 years ago

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.
chunks-webpack-plugin - ChunksWebpackPlugin 4.0.3

Published by yoriiis over 4 years ago

4.0.3

Fixes

  • Options generateChunksManifest and generateChunksFiles can now operate independently #53

Updates

  • Improve Jest tests
chunks-webpack-plugin - ChunksWebpackPlugin 4.0.2

Published by yoriiis over 4 years ago

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
chunks-webpack-plugin - ChunksWebpackPlugin 4.0.1

Published by yoriiis over 4 years ago

4.0.1

Updates

chunks-webpack-plugin - ChunksWebpackPlugin 4.0.0

Published by yoriiis over 4 years ago

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
chunks-webpack-plugin - ChunksWebpackPlugin 3.4.6

Published by yoriiis over 4 years ago

3.4.6

Fixes

  • Fix comptibility support with Webpack v4.0.0 #39
chunks-webpack-plugin - ChunksWebpackPlugin 3.4.5

Published by yoriiis almost 5 years ago

3.4.5

New features

  • Add Discord chat

Updates

  • Update Travis CI with more Node.js versions (node, lts/*, 12.14.0, 8.11.2)
Package Rankings
Top 4.41% on Npmjs.org
Badges
Extracted from project README
Coverage Status Npm downloads
Related Projects