mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-01-30 09:48:12 +01:00
feat: add hash to css bundle name
This commit is contained in:
parent
1bba48f27b
commit
29a43e451d
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user