igniteui-cli icon indicating copy to clipboard operation
igniteui-cli copied to clipboard

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

Open ChronosSF opened this issue 3 years ago • 4 comments

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.

ChronosSF avatar Jul 20 '22 11:07 ChronosSF

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

github-actions[bot] avatar Mar 24 '23 22:03 github-actions[bot]

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

github-actions[bot] avatar May 26 '23 22:05 github-actions[bot]

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

github-actions[bot] avatar Apr 05 '24 22:04 github-actions[bot]