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?
It's working now...
See example: https://github.com/webpack/webpack/tree/master/examples/harmony-unused#examplejs
Thanks!
On Jun 28, 2016, at 7:29 PM, Tobias Koppers [email protected] wrote:
It's working now...
See example: https://github.com/webpack/webpack/tree/master/examples/harmony-unused#examplejs
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
@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
Most helpful comment
It's working now...
See example: https://github.com/webpack/webpack/tree/master/examples/harmony-unused#examplejs