From 390c53482346db926f759589032c22d8169816ef Mon Sep 17 00:00:00 2001 From: Joel Takvorian Date: Fri, 26 Sep 2025 18:39:01 +0200 Subject: [PATCH] Improve build time --- web/webpack.config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/webpack.config.ts b/web/webpack.config.ts index c738665d0..f5897acf2 100644 --- a/web/webpack.config.ts +++ b/web/webpack.config.ts @@ -28,7 +28,12 @@ module.exports = { { loader: 'ts-loader', options: { + transpileOnly: true, configFile: path.resolve(__dirname, 'tsconfig.json'), + compilerOptions: { + sourceMap: process.env.NODE_ENV === 'development', + incremental: true, + }, }, }, ], @@ -429,6 +434,9 @@ module.exports = { chunkIds: 'named', minimize: false, }, + cache: { + type: 'filesystem', + }, }; if (process.env.FLAVOR === 'static') {