Skip to content

Commit

Permalink
feat: control minify
Browse files Browse the repository at this point in the history
  • Loading branch information
HomyeeKing committed Jan 15, 2025
1 parent d44c87e commit 31da36d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ice/src/service/webpackServerCompiler/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ export class WebpackServerCompiler {
},
},
},
minimize: true,
minimize: options.minify,
minimizer: [
new TerserPlugin({
// TODO: read minify config
extractComments: false,
}),
],
Expand Down

0 comments on commit 31da36d

Please sign in to comment.