From 4d4eb354b72860bea3d376f5c95a839aad19f37c Mon Sep 17 00:00:00 2001 From: Tarek Becker Date: Thu, 1 Nov 2018 21:43:07 +0100 Subject: [PATCH] Add [hash] to filename of grafana.{light,dark}.css --- public/views/index.template.html | 2 +- scripts/webpack/webpack.dev.js | 2 +- scripts/webpack/webpack.prod.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/views/index.template.html b/public/views/index.template.html index 1f6e511784d..096684d3e37 100644 --- a/public/views/index.template.html +++ b/public/views/index.template.html @@ -15,7 +15,7 @@ - + diff --git a/scripts/webpack/webpack.dev.js b/scripts/webpack/webpack.dev.js index 7eecceeb1bf..5cef1b6afd4 100644 --- a/scripts/webpack/webpack.dev.js +++ b/scripts/webpack/webpack.dev.js @@ -80,7 +80,7 @@ module.exports = merge(common, { plugins: [ new CleanWebpackPlugin('../../public/build', { allowExternal: true }), new MiniCssExtractPlugin({ - filename: "grafana.[name].css" + filename: "grafana.[name].[hash].css" }), new HtmlWebpackPlugin({ filename: path.resolve(__dirname, '../../public/views/index.html'), diff --git a/scripts/webpack/webpack.prod.js b/scripts/webpack/webpack.prod.js index 9e1e4cfb0b5..761d22892ea 100644 --- a/scripts/webpack/webpack.prod.js +++ b/scripts/webpack/webpack.prod.js @@ -71,7 +71,7 @@ module.exports = merge(common, { plugins: [ new MiniCssExtractPlugin({ - filename: "grafana.[name].css" + filename: "grafana.[name].[hash].css" }), new ngAnnotatePlugin(), new HtmlWebpackPlugin({