Csaba Apagyi
1 min readJan 13, 2020

--

Why doesn’t tree-shaking work when default exporting objects? There’s an example in https://webpack.js.org/guides/tree-shaking/ where they give an example of tree shaking removing an object export: “ When Button is unused you can effectively remove the export { Button$1 };

--

--

No responses yet