MaterialDesign-JS icon indicating copy to clipboard operation
MaterialDesign-JS copied to clipboard

fix: Add `exports` to `package.json`

Open susnux opened this issue 1 year ago • 2 comments

  • 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.

susnux avatar Feb 09 '24 20:02 susnux

BTW this saves us ~3MB of JS assets because of tree shaking.

susnux avatar Feb 09 '24 20:02 susnux

Hi, guys! @Templarian @mririgoyen

Any news about this PR? Thanks :smile:

douglas-martins avatar Dec 05 '24 13:12 douglas-martins