Skip to content

Commit

Permalink
revert toplevel
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Dec 7, 2023
1 parent 77e801f commit 5ddb450
Show file tree
Hide file tree
Showing 11 changed files with 392 additions and 387 deletions.
1 change: 0 additions & 1 deletion packages/babel-helpers/scripts/generate-helpers.js
Expand Up @@ -97,7 +97,6 @@ export default Object.freeze({
code = (
await minify(code, {
mangle: {
toplevel: true,
keep_fnames: mangleFns ? new RegExp(noMangleFns.join("|")) : true,
},
// The _typeof helper has a custom directive that we must keep
Expand Down
48 changes: 24 additions & 24 deletions packages/babel-helpers/src/helpers-generated.ts

Large diffs are not rendered by default.

0 comments on commit 5ddb450

Please sign in to comment.