Skip to content

Commit

Permalink
terser: enable toplevel (#36743)
Browse files Browse the repository at this point in the history
  • Loading branch information
samouri committed Nov 3, 2021
1 parent 5666379 commit 3126c9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build-system/tasks/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@ async function minify(code, map) {
keep_quoted_props: true,
},
sourceMap: {content: map},
toplevel: true,
module: !!argv.esm,
nameCache,
};
Expand Down

0 comments on commit 3126c9c

Please sign in to comment.