governance-ui
governance-ui copied to clipboard
Enable tree shaking
Tree shaking is currently disabled due to an issue with bn.js
@parcel/transformer-js: Unknown usage of CommonJS `module` object. This causes the module to be wrapped, and tree shaking to be disabled.
/Users/julien/Documents/Projects/jeluard/swipealot/node_modules/bn.js/lib/bn.js:3547:37
3546 | };
> 3547 | })(typeof module === 'undefined' || module, this);
> | ^^^^^^
3548 |
📝 Learn more: https://parceljs.org/features/scope-hoisting/#commonjs
@parcel/transformer-js: Unknown usage of CommonJS `exports` object. This causes tree shaking to be disabled.
/Users/julien/Documents/Projects/jeluard/swipealot/node_modules/bn.js/lib/bn.js:3547:45
3546 | };
> 3547 | })(typeof module === 'undefined' || module, this);
> | ^^^^
3548 |
📝 Learn more: https://parceljs.org/features/scope-hoisting/#commonjs