Skip to content

Commit

Permalink
Don't mangle names of public types
Browse files Browse the repository at this point in the history
It seems a recent release of rollup-plugin-babel-minify changed the name
of the blacklist configuration property, causing public names to be
mangled in the last release. This fixes the configuration, and also adds
XMLSerializer, which I seem to have forgotten last time.

Fixes #59
  • Loading branch information
bwrrp committed Mar 12, 2018
1 parent 88c77ba commit a0c1b72
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default {
minify({
comments: false,
mangle: {
blacklist: [
exclude: [
'Attr',
'CDATASection',
'CharacterData',
Expand All @@ -37,7 +37,8 @@ export default {
'ProcessingInstruction',
'Range',
'Text',
'XMLDocument'
'XMLDocument',
'XMLSerializer'
]
},
sourceMap: true
Expand Down

0 comments on commit a0c1b72

Please sign in to comment.