IgniteUI / igniteui-cli

Ignite UI Command-Line Interface by Infragistics
https://bit.ly/2L19rhp
MIT License
118 stars 4 forks source link

Fix the WC project not getting tree-shaking with rollup (or move to webpack / other module bundler) #1052

Open ChronosSF opened 2 years ago

ChronosSF commented 2 years ago

The WC project doesn't receive tree-shaking. It's easy to reproduce if you debug a WC project made with the CLI and see that all the js files are included in the bundle by default.

If you add the separate views in a create-react-app project instead, treeshaking is achieved by webpack so it is definitely possible.

This is either some issue in rollup's config or maybe more generic inability for rollup to treeshake the WC project. In this case we might need to use another bundler.

github-actions[bot] commented 1 year ago

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] commented 1 year ago

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] commented 5 months ago

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] commented 3 months ago

There has been no recent activity and this issue has been marked inactive.