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