Skip to content

Commit 733fb50

Browse files
committed
Comments
1 parent 9e94145 commit 733fb50

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/sdk/browser/rollup.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ const getSharedConfig = (format, file) => ({
2424
const terserOpts = {
2525
mangle: {
2626
properties: {
27+
// Mangle class properties which start with an underscore.
2728
regex: /^_/,
29+
// Do not mangle '_meta', because this is part of our JSON
30+
// data model.
2831
reserved: ['_meta']
2932
},
3033
}

0 commit comments

Comments
 (0)