feat: add hash to css bundle name

This commit is contained in:
abhijithvijayan 2020-11-15 15:30:43 +05:30
parent 1bba48f27b
commit 29a43e451d

View File

@ -148,12 +148,14 @@ module.exports = {
template: path.join(viewsPath, 'popup.html'), template: path.join(viewsPath, 'popup.html'),
inject: 'body', inject: 'body',
chunks: ['popup'], chunks: ['popup'],
hash: true,
filename: 'popup.html', filename: 'popup.html',
}), }),
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
template: path.join(viewsPath, 'options.html'), template: path.join(viewsPath, 'options.html'),
inject: 'body', inject: 'body',
chunks: ['options'], chunks: ['options'],
hash: true,
filename: 'options.html', filename: 'options.html',
}), }),
// write css file(s) to build folder // write css file(s) to build folder