Does the build 'tree-shake' the components?
jeremytenjo opened this issue · comments
Jeremy Tenjo commented
Does the build 'tree-shake' the components?
AS commented
@tenjojeremy I am guessing you are consuming this library in an application that's using webpack? If so, then webpack should be able to tree shake this library as it has es6 modules output. The important thing is that this library outputting es6 modules, and it's the job of your consuming application's bundler (e.g. webpack) to 'tree shake'.