Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Oct 2, 2023
1 parent 5f7faac commit 4969711
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,12 @@ export class TerserPlugin {
}
: {}),
compress: true,
mangle: true,
// This is the same option as terser
mangle: {
toplevel: true,
keep_classnames: true,
keep_fnames: true,
},
}
)

Expand Down

0 comments on commit 4969711

Please sign in to comment.