Releases: yoriiis/chunks-webpack-plugin
Releases · yoriiis/chunks-webpack-plugin
ChunksWebpackPlugin 7.0.0
7.0.0
New features
- Add the
filename
parameter.
Updates
- Add the webpack
v5
compatibility and the backward compatibility for thev4
. - Use the
processAssets
compilation hook to create templates and thechunks-manifest.json
file. - The plugin requires at least Node.js
10.13.0
(LTS). Theengines.node
is updated in thepackage.json
. - Update the nodeJS version in the Github Action
Removes
- Remove the
outputPath
parameter. Templates are generated in the the webpack output path. Use thefilename
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 thegraceful-fs
package. - Remove the utils and move useful functions into the main file
ChunksWebpackPlugin 6.1.0
6.1.0
Fixes
- Fix
isValidCustomFormatTagsDatas
function too strict,styles
andscripts
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 byEntrypoint
. See the dedicated section in the README.
ChunksWebpackPlugin 6.0.1
6.0.1
Fixes
- Fix missing
publicPath
ChunksWebpackPlugin 6.0.0
6.0.0
New features
- Add Typescript to the Webpack plugin
Updates
- Replace Travis CI by Github Actions
ChunksWebpackPlugin 5.0.0
5.0.0
New features
- Add Husky
pre-commit
witheslint
,markdown
andtest
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 fromdefault
tonull
. If the parameter is omit ornull
, the plugin will use theoptions.output.path
option from the Webpack configuration.
ChunksWebpackPlugin 4.0.3
4.0.3
Fixes
- Options
generateChunksManifest
andgenerateChunksFiles
can now operate independently #53
Updates
- Improve Jest tests
ChunksWebpackPlugin 4.0.2
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 (replacetypeof
andBoolean
byinstanceof
) - Update Jest tests with mutation testing
- Update dependencies
ChunksWebpackPlugin 4.0.1
4.0.1
Updates
- Optimize
utils.getFileExtension
with native Node.jsextname
function - Bumps webpack-cli from 3.3.10 to 3.3.11.
- Bumps eslint-plugin-import from 2.20.0 to 2.20.1.
- Bumps @babel/preset-env from 7.8.3 to 7.8.4.
- Bumps webpack from 4.41.5 to 4.41.6.
- Bumps terser-webpack-plugin from 2.3.2 to 2.3.5.
- Bumps markdownlint-cli from 0.21.0 to 0.22.0.
ChunksWebpackPlugin 4.0.0
4.0.0
Updates
- Refacto
chunkGroups
, usecompilation.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