Reputation: 25
My filename in url is something like:
index.qwe123.html
Where qwe123 is a random string. I want to display index.html file regardless this string. How do I customize in Webpack config:
new HtmlWebpackPlugin({
filename: 'index.html',
template: path.resolve(__dirname, SOURCE_ROOT + '/static/index.html')
})
So, this index.html would be served regardless of the dynamic part.
Upvotes: 0
Views: 51