Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Common Shake Plugin for Webpack to optimize CommonJS dependencies. #12

Open
swernerx opened this issue Nov 21, 2017 · 1 comment

Comments

@swernerx
Copy link
Member

There is a pretty new Webpack plugin to apply some tree shaking to classic CommonJS modules. As this does not seem to have negative side-effects we should try out whether this improves bundle sizes in production.

Plugin: https://github.com/indutny/webpack-common-shake

@artisin
Copy link

artisin commented May 6, 2018

There has been some progress on this front with Webpack 4 as well as support for complex selector sideEffects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants