Chore: Disable webpack cache for noMinify builds (#112241)

This commit is contained in:
Leon Sorokin
2025-10-10 10:01:36 -05:00
committed by GitHub
parent 375d3319cd
commit 6cdb7114a9
+10 -7
View File
@@ -63,13 +63,16 @@ module.exports = (env = {}) =>
},
// enable persistent cache for faster builds
cache: {
type: 'filesystem',
name: 'grafana-default-production',
buildDependencies: {
config: [__filename],
},
},
cache:
parseInt(env.noMinify, 10) === 1
? false
: {
type: 'filesystem',
name: 'grafana-default-production',
buildDependencies: {
config: [__filename],
},
},
plugins: [
new MiniCssExtractPlugin({