When split-by-name-webpack-plugin is active it breaks html-webpack-plugin, which then says html-files emitted no html.
This cost me quite a lot of time and mistargeted frustration. I ended up getting https://github.com/BohdanTkachenko/webpack-split-by-path to work instead.
I hope there is a way to fix this so people won't report bug on the wrong repository
Example config that triggers the error:
{
plugins: [
new SplitByNamePlugin({
buckets: [
{
name: 'vendor',
regex: /vendor\//
}
]
},
new HtmlWebpackPlugin({
template: 'src/index.html'
}),
]
}
When split-by-name-webpack-plugin is active it breaks html-webpack-plugin, which then says html-files emitted no html.
This cost me quite a lot of time and mistargeted frustration. I ended up getting https://github.com/BohdanTkachenko/webpack-split-by-path to work instead.
I hope there is a way to fix this so people won't report bug on the wrong repository
Example config that triggers the error: