ui: add hash to css filenames
This commit is contained in:
parent
5af63eb9f1
commit
404ffd5b2d
1 changed files with 5 additions and 1 deletions
|
|
@ -141,7 +141,11 @@ const config: Configuration = {
|
|||
{ from: "./app/assets", to: "assets" },
|
||||
],
|
||||
}),
|
||||
new MiniCssExtractPlugin({ ignoreOrder: true }),
|
||||
new MiniCssExtractPlugin({
|
||||
filename: '[name]-[contenthash:7].css',
|
||||
chunkFilename: '[id]-[contenthash:7].css',
|
||||
ignoreOrder: true
|
||||
}),
|
||||
],
|
||||
devtool: isDevelopment ? "inline-source-map" : false,
|
||||
performance: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue