wave icon indicating copy to clipboard operation
wave copied to clipboard

Make the library tree-shakeable

Open nlopin opened this issue 2 years ago • 0 comments

Description

The current version of the library is not tree shakeable which means when we publish a project with Wave. The bundle of this project will contain all components, even those which are not used. In gzip, it adds 150Kb of code to the bundle.

By allowing user to include only the components used in the code, we can reduce the impact on our end-used bundles.

nlopin avatar Jun 03 '22 10:06 nlopin