RolandJansen / intermix-plugin-template

A template for developers of intermix plugins
MIT License
0 stars 0 forks source link

Check why tree shaking doesn't work in bundler #11

Open RolandJansen opened 3 years ago

RolandJansen commented 3 years ago

when stuff is imported from "intermix", rollup adds the whole framework including redux and its dependencies to the package which is 98k and about 50k minified. When I add the required modules manually from the unbundled files I get 6k and 2k minified.

RolandJansen commented 3 years ago

Everything works so this is not a high priority thing. Switched from 0.1.0 to 0.2.0.