Working in a project with multiple entries which are placed in multiple folders:
entries: {
entry1: "src/entry1/index.js",
entry2: "src/entry2/index.js"
},
output: {
path: "dist",
filename: "[name]/[name].bundle.js"
}
It would be neat to be able to generate multiple .html files, utilising the [name] substitution to support multiple names. What say you?
Like:
new HtmlWebpackPlugin({
filename: "[name]/index.html"
})
Working in a project with multiple entries which are placed in multiple folders:
It would be neat to be able to generate multiple .html files, utilising the [name] substitution to support multiple names. What say you?
Like: