MaterialDesign-JS
MaterialDesign-JS copied to clipboard
fix: Add `exports` to `package.json`
- Resolves #28
Otherwise when using Node > 16 and some bundlers (e.g. webpack 5) no treeshaking will happen. As the wrong entry point (main) will be used.
BTW this saves us ~3MB of JS assets because of tree shaking.
Hi, guys! @Templarian @mririgoyen
Any news about this PR? Thanks :smile: