-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Support tree shaking with import * as identifier from file; #2713
Comments
It's working now... See example: https://github.com/webpack/webpack/tree/master/examples/harmony-unused#examplejs |
Thanks!
|
@sokra I tried Webpack 2 against the ongoing THREE.js transformation into modules, which has /Three.js exporting all the modules. The output was still the same as a regular build with Webpack 1. When going through the index manually, cutting out dependencies it decreased in size. Is there something that i do wrong? The project is here: https://github.com/drcmda/three-modules |
Over in the purescript repository (purescript/purescript/issues/1206), it seems webpack doesn't support tree-shaking for the import {* syntax. Rollup does. Would it be possible to support this?
The text was updated successfully, but these errors were encountered: