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') {