Closed jeremytenjo closed 5 years ago
@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'.
Does the build 'tree-shake' the components?