0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-31 21:22:27 +00:00
termux-packages/packages/grafana/webpack-no-cache.patch
glow 63fa19fa41 chore(main/grafana): disable webpack cache
It used obscene amounts of storage and wasn't reused anyway.
2024-06-11 08:10:10 +02:00

21 lines
652 B
Diff

diff --git a/scripts/webpack/webpack.prod.js b/scripts/webpack/webpack.prod.js
index a94550fd0a5..538a3f25619 100644
--- a/scripts/webpack/webpack.prod.js
+++ b/scripts/webpack/webpack.prod.js
@@ -52,15 +52,6 @@ module.exports = (env = {}) =>
minimizer: [new EsbuildPlugin(esbuildOptions), new CssMinimizerPlugin()],
},
- // enable persistent cache for faster builds
- cache: {
- type: 'filesystem',
- name: 'grafana-default-production',
- buildDependencies: {
- config: [__filename],
- },
- },
-
plugins: [
new MiniCssExtractPlugin({
filename: 'grafana.[name].[contenthash].css',