Closed NicolasRannou closed 7 years ago
Why not webpack2 ? https://gist.github.com/forabi/2a538b263d0f1fe5f041
Yes actually last time I checked webpack didn't have tree shaking but it seems to now support it.
Not quite sure is the best option for a library.
Any thought?
webpack 3 may actually be a good candidate as it provides scope hoisting: https://medium.com/webpack/webpack-3-official-release-15fd2dd8f07b
In my understanding, webpack is really good to serve things "on-demand" whereas rollup is more about providing small / fast bundles.
I would like to take this one, should I?
@RusinovAnton that'd be awesome - in general the current scripts need to be revisited for this project, here are the things we want:
webpack-dev-server
to serve a single example for development purpose. Ideally hot replacement would kick in for great developer experience.Important thing to keep in mind is that AMI still needs babel polyfills but we are willing to get rid of it sooner than later.
@RusinovAnton see #194 related issue - please do not hesitate if you have any questions!
closed by #195
Quick question? I ran the analyze script and it seems that THREE.JS is taking soooo much room. Any clue why that would be happening? We only import very few THREE.JS packages and the rest should be left out if I am not mistaking... :/
https://rollupjs.org/