Skip to content

Commit

Permalink
Don’t mangle Node.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock authored Dec 30, 2019
1 parent 1fc4a88 commit 14b8c33
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ export default [
plugins: [
...config.plugins,
terser({
output: {
preamble: config.output.banner
}
output: {preamble: config.output.banner},
mangle: {reserved: ["Node"]}
})
]
}
Expand Down

0 comments on commit 14b8c33

Please sign in to comment.