New issue
Tree shaking completely broken?
#2867
Comments
vladshcherbin
commented Aug 13, 2016
•
edited
edited
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Because of webpack/webpack#2867 , webpack doesn't remove all unused code when a user imports a single component from the library. 'date-fns' Webpack 4 fixes that for libraries that explicitly anounce thmeselves to be side effect free: https://github.com/webpack/webpack/tree/next/examples/side-effects .
Because of webpack/webpack#2867 , webpack doesn't always remove all unused code when a user imports a single component from the library. Webpack 4 fixes that for libraries that explicitly anounce thmeselves to be side effect free: https://github.com/webpack/webpack/tree/next/examples/side-effects .
Because of webpack/webpack#2867 , webpack doesn't remove all unused code when a user imports a single component from the library. 'date-fns' Webpack 4 fixes that for libraries that explicitly anounce thmeselves to be side effect free: https://github.com/webpack/webpack/tree/next/examples/side-effects .
|
|