Skip to content

Commit

Permalink
fix: jsminifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinbao1001 committed Dec 30, 2024
1 parent 0f3bbd8 commit 9de96c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder/bundle/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async function bundle(opts: IBundleOpts): Promise<void | IBundleWatcher> {

// compatible with IE11 by default
targets: getBundleTargets(config),
jsMinifier: config.jsMinifier,
jsMinifier: config.jsMinifier || JSMinifier.terser,
cssMinifier: CSSMinifier.cssnano,
extraBabelIncludes: [/node_modules/],

Expand Down

0 comments on commit 9de96c5

Please sign in to comment.