4 ms·
Is anybody running a project with webpack that has a 20s rebuild time? Or if somebody has switched from webpack to parcel, can they give an idea of the perform
by pedalpete 9y ago
Is anybody running a project with webpack that has a 20s rebuild time?
Or if somebody has switched from webpack to parcel, can they give an idea of the performance improvement?
We've got a moderate sized app, and webpack rebuild (typescript, server-side react, client side js bundle, css export) is less than 3 seconds.
- cygned 9y agoWe have a React app with roughly 100k LOC and a lot of SASS that takes about 4 minutes now to create the bundle on my MacBook Pro 2017.
- joekrill 9y agoThat's probably the initial build, though, right? If you've already got dev-server running and it has to rebuild, it shouldn't have to rebuild the entire bundle again.
- milesokeefe 9y agoAlso every time you add/remove a file or make similar breaking changes.
- cygned 9y agoYes, that is just the time for the initial (or production) build. The dev server is not as fast as it has been initially, but it is fast enough.
- regecks 9y agoIs that less than 3 seconds a production bundle (npm run build)?
- ricardobeat 9y agoSee https://github.com/webpack/webpack/issues/5718 https://github.com/webpack/webpack/issues/5718