diff --git a/packages/ice/src/service/webpackServerCompiler/compiler.ts b/packages/ice/src/service/webpackServerCompiler/compiler.ts index 250449f622..c5701a8819 100644 --- a/packages/ice/src/service/webpackServerCompiler/compiler.ts +++ b/packages/ice/src/service/webpackServerCompiler/compiler.ts @@ -52,9 +52,10 @@ export class WebpackServerCompiler { }, }, }, - minimize: true, + minimize: options.minify, minimizer: [ new TerserPlugin({ + // TODO: read minify config extractComments: false, }), ],