mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-22 08:03:18 +01:00
add css hash to build files
This commit is contained in:
parent
f5427a766b
commit
7320f30ab8
@ -18,8 +18,12 @@ module.exports = merge(common, {
|
||||
minify: CssMinimizerPlugin.cleanCssMinify
|
||||
}),
|
||||
new TerserPlugin({
|
||||
parallel: true,
|
||||
extractComments: false
|
||||
terserOptions: {
|
||||
format: {
|
||||
comments: false,
|
||||
},
|
||||
},
|
||||
extractComments: false,
|
||||
})
|
||||
]
|
||||
},
|
||||
@ -30,7 +34,9 @@ module.exports = merge(common, {
|
||||
}],
|
||||
},
|
||||
plugins: [
|
||||
new MiniCssExtractPlugin(),
|
||||
new MiniCssExtractPlugin({
|
||||
filename: '[name].[contenthash].css'
|
||||
}),
|
||||
new ZipPlugin({
|
||||
path: path.resolve(__dirname, 'dist/extension'),
|
||||
filename: name + '_' + version + '.zip'
|
||||
|
Loading…
Reference in New Issue
Block a user