Closed
Description
Hello,
Is there a support for multi-entry html?
Right now I have multiple HtmlWebpackPlugin
instances for each html file:
plugins: [
new MiniCssExtractPlugin({
filename: '[name].css',
chunkFilename: "[id].css"
}),
...inputFiles.map(path => new HtmlWebpackPlugin({
inject: true,
chunks: [path],
filename: `${path}.html`,
template: `src/${path}.html`,
})),
new HTMLInlineCSSWebpackPlugin({
leaveCSSFile: false,
}),
But the injected CSS is not right because all html files contains all css tyles.
Metadata
Metadata
Assignees
Labels
No labels