Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230796

Tree shaking Stencil components

$
0
0

I have made some Stencil components using the stencil CLI Pick a starter › component option.
I have imported my component library as import 'lrs-components'; into an Ionic app.

I will be using the same component library on multiple websites and apps and they will not all use all of the components.

Is there a way to tree shake so that only the ones that are used get bundled?


Viewing all articles
Browse latest Browse all 230796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>