Create HTML files with entrypoints and chunks relations to serve your bundles
MIT License
Published by yoriiis about 1 year ago
exports
(#95)Published by yoriiis over 1 year ago
Node.js
version is 16.20.0
(#90)templateStyle
and templateScript
parameters are transformed into functions (#91)outputPath
parameter is removed. Files are generated by default by webpack compilation according to output.path
customFormatTags
parameter is removed. Custom generation can be done with templateStyle
and templateScript
functionsPublished by yoriiis over 3 years ago
outputPath
and slashes on entry name #81
outputPath
caused [contenthash
] differences in generated HTML (realContentHash
)Published by yoriiis over 3 years ago
Published by yoriiis almost 4 years ago
Published by yoriiis almost 4 years ago
filename
parameter.v5
compatibility and the backward compatibility for the v4
.processAssets
compilation hook to create templates and the chunks-manifest.json
file.10.13.0
(LTS). The engines.node
is updated in the package.json
.outputPath
parameter. Templates are generated in the the webpack output path. Use the filename
to customize the output directory.fileExtension
parameter.fs-extra
package in favor of the file system exposed by the webpack compiler. It use the graceful-fs
package.Published by yoriiis over 4 years ago
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
customFormatTags
. files
is replaced by Entrypoint
. See the dedicated section in the README.Published by yoriiis over 4 years ago
publicPath
Published by yoriiis over 4 years ago
Published by yoriiis over 4 years ago
pre-commit
with eslint
, markdown
and test
scriptsoutputPath
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.Published by yoriiis over 4 years ago
generateChunksManifest
and generateChunksFiles
can now operate independently #53
Published by yoriiis over 4 years ago
customFormatTagsDatasIsValid
function to prevent empty contentcustomFormatTags
check (replace typeof
and Boolean
by instanceof
)Published by yoriiis over 4 years ago
utils.getFileExtension
with native Node.js extname
functionPublished by yoriiis over 4 years ago
chunkGroups
, use compilation.entrypoints
Map object to get all valid entrypoints and associated filesbuild
npm script, use directly ./src
directory as entry pointPublished by yoriiis over 4 years ago
Published by yoriiis almost 5 years ago
node
, lts/*
, 12.14.0
, 8.11.2
)