- Updates Node.js (#100)
- Minimum supported
Node.js
version is18.19.0
- Updates other packages
- Minimum supported
This package is now pure ESM. Please read Sindre Sorhus ESM note for more information
- Migrate to ESM with package
exports
(#95)
- Fix automatic public path generation #93
- Optimize TypeScript (#94)
- Add funding key in
package.json
(dd7b91c)
- Minimum supported
Node.js
version is16.20.0
(#90) templateStyle
andtemplateScript
parameters are transformed into functions (#91)- The
outputPath
parameter is removed. Files are generated by default by webpack compilation according tooutput.path
- The
customFormatTags
parameter is removed. Custom generation can be done withtemplateStyle
andtemplateScript
functions
- Fix incompatibility with
outputPath
and slashes on entry name #81 - Fix
outputPath
caused[contenthash
] differences in generated HTML (realContentHash
)
- Add webpack
v5
as peer dependency #74
- Add the
outputPath
parameter to override the webpack output path directory
- Fix
outputPath
parameter ignored in7.0.0
#66 - Fix
publicPath
parameter with default value "auto" #67
- Add the
filename
parameter.
- 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
- Remove the
outputPath
parameter. Templates are generated in 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
- 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
- Update the second parameter of the function
customFormatTags
.files
is replaced byEntrypoint
. See the dedicated section in the README.
- Fix missing
publicPath
- Add Typescript to the Webpack plugin
- Replace Travis CI by Github Actions
- Add Husky
pre-commit
witheslint
,markdown
andtest
scripts
- Rework and split code into small functions to facilitate testing
- Complete rewrite of tests
- 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.
- Options
generateChunksManifest
andgenerateChunksFiles
can now operate independently #53
- Improve Jest tests
- Add Stryker mutation in the Travis CI to improve tests quality
- Update
customFormatTagsDatasIsValid
function to prevent empty content - Simplify
customFormatTags
check (replacetypeof
andBoolean
byinstanceof
) - Update Jest tests with mutation testing
- Update dependencies
- 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.
- Refacto
chunkGroups
, usecompilation.entrypoints
Map object to get all valid entrypoints and associated files - Update ESLint config, add semicolon on all Javascript files
- Remove
build
npm script, use directly./src
directory as entry point
- Fix comptibility support with Webpack
v4.0.0
#39
- Add Discord chat
- Update Travis CI with more Node.js versions (
node
,lts/*
,12.14.0
,8.11.2
)
- Add
markdownlint
to lint markdown files
- Upgrade Node.js version to
12.14.0
- Bumps
eslint-config-standard
from11.0.0
to14.1.0
- Bumps
eslint-plugin-node
from8.0.1
to11.0.0
- Bumps
eslint-plugin-standard
from3.1.0
to4.0.1
- Update Travis config with markdown lint script
- Lint
CHANGELOG.md
andREADME.md
- Update Github
ISSUE_TEMPLATE
- Update
.npmignore
- Fix ignore sourceMap file and dynamic import chunk #24
- Fix npm scripts
- Fix lint on Webpack config
- Fix bundle analyzer
- Add
./.vscode/launch.json
file to debugging Node.js
- Bumps
vlitejs
from3.0.2
to3.0.4
- Bumps
mini-css-extract-plugin
from0.4.1
to0.9.0
- Bumps
@babel/core
from7.7.7
to7.8.3
- Bumps
css-loader
from1.0.0
to3.4.2
- Bumps
webpack
from4.41.2
to4.41.5
- Bumps
@babel/cli
from7.7.7
to7.8.3
- Bumps
eslint-plugin-import
from2.19.1
to2.20.0
- Bumps
terser-webpack-plugin
from2.2.1
to2.3.2
- Bumps
@babel/preset-env
from7.7.7
to7.8.3
- Bumps
eslint
from4.19.1
to6.8.0
- Remove example dist files and update
.gitignore
- Remove dist test files
- Build source files
- Add Coveralls
- Up code covrage to 100%
- Add Jest tests
- Rename
demo
intoexample
- Merge example and main
package.json
- Bumps
@babel/preset-env
from 7.4.5 to 7.7.7 - Bumps
eslint-plugin-standard
from 3.0.1 to 3.1.0 - Bumps
eslint
from 4.18.2 to 4.19.1 - Bumps
@babel/core
from 7.7.4 to 7.7.7 - Bumps
eslint-config-standard
from 10.2.1 to 11.0.0 - Bumps
@babel/cli
from 7.7.4 to 7.7.7 - Bumps
eslint-plugin-promise
from 3.6.0 to 4.2.1 - Bumps
eslint-plugin-import
from 2.8.0 to 2.19.1 - Bumps
eslint-plugin-node
from 5.2.1 to 8.0.1 - Bumps
babel-eslint
from 8.0.1 to 10.0.3
- Fixed missing dependency
fs-extra
#9
- Add minimalist project example to run the ChunksWebpackPlugin plugin
- Add
generateChunksManifest
option to generate chunks manifest - Add
generateChunksFiles
to enable/disable HTML files generation.
- Update Webpack compiler hook from
done
toemit
to improve performance - Split plugin code in minimalist functions and create utils functions
- Babel build now the directory
./src/
- Replace
fs
byfs-extra
- Lint all Javascript files with ESLint
- Fixed strict node engine version break with different node version #6
- Add Travis builds:
eslint
- Add
ESLint
withStandard JS
on the project with associated npm scripts - Add
Babel
configuration on the project - Add
.github
folder withISSUE_TEMPLATE
andPULL_REQUEST_TEMPLATE
- Add
./dist
folder with vLitejs assets - Add
.editorconfig
file
- Fixed chunks urls when public path is not defined #3
- Add
webpack
aspeerDependencies
in thepackage.json
- Change default value of
outputPath
fromnull
todefault
- Change default value of
customFormatTags
fromnull
tofalse
- Re-order
package.json
keys - Updating and improving the documentation
- Prevent generate empty files
- Lint Javascript
- Fixed wrong public path for absolute paths #1
- Add function
customFormatTags
to override the default behavior of tags generation
- Rename option
path
tooutputPath
- Add comments in code
- Update README
- First release of
ChunksWebpackPlugin
- Update README