You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a couple of .scss files and I want to specify which files are inlined in which .html files. How do I do that? Right now all entry .scss files are inlined in every result .html file, which is not what I want. Here's the relevant plugin config:
new MiniCssExtractPlugin(),
...files.map(file => new HtmlWebpackPlugin({
template: `src/pug/${file}.pug`,
filename: `${file}.html`,
templateParameters: {
filename: file
},
inject: false
})),
new HTMLInlineCSSWebpackPlugin(),
Even though I did inject: false your plugin still injects every entry style file into the <head>.
The text was updated successfully, but these errors were encountered:
I have a couple of
.scss
files and I want to specify which files are inlined in which.html
files. How do I do that? Right now all entry.scss
files are inlined in every result.html
file, which is not what I want. Here's the relevant plugin config:Even though I did
inject: false
your plugin still injects every entry style file into the<head>
.The text was updated successfully, but these errors were encountered: