This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
Reference chunk manifest internally
chunk-manifest-webpack-plugin
now a dependency to inline-chunk-manifest-html-webpack-plugin
.
Because the plugin practically is an extension of/for the result from chunk-manifest-webpack-plugin
, it might as well be referenced internally instead of having to match the config between the two plugins.
Now webpack's chunk manifest can be inlined using the following config:
module.exports = {
// your config values here
plugins: [
new HtmlWebpackPlugin({
template: './index-template.ejs'
}),
new InlineChunkManifestHtmlWebpackPlugin() // no need to reference `new ChunkManifestPlugin()`
]
};