Paul Sweeney
Paul Sweeney
Lazy loading at point of request would work for HMR users, but would mean a page refresh would take several seconds for both HMR and Hot Reload users. Wouldn't be...
You could theoretically bundle each file into their own file (like how dynamic imports code split), the code won't be the same though as in the editor (modules will be...
I was actually investigating earlier how to go about file splitting while maintaining full Rollup API compatibility. Was originally looking at ESM import/exports like a bunch of new tools are...
There's a variety of reasons that can contribute to a slow start, mostly it comes down to the plugins being used (stuff like Babel for example can be really expensive...
Just a couple of other thoughts on this topic: * Source map collapsing can definitely be improved. Would be interesting to see what the alternatives there are to ```source-map``` and...
For the sake of experimentation, comment out the implementation of ```combineSourceMapChain``` in ```lib/impl/utils``` and see how much of the 15 seconds timing gets cut. I get double the speed improvement...
https://github.com/PepsRyuu/nollup/pull/100 Faster implementation using a WASM version of ```source-map```, would be good to see if this branch helps to reduce the time.
Some research notes based on ```routify.dev```: ``` Compiled main in 2178ms, Modules: 54 Compiled workbox-window.prod.es5 in 8ms, Modules: 1 Compiled _fallback in 25ms, Modules: 28 Compiled _layout in 448ms, Modules:...
Disk caching I'll have to experiment with and see what kind of results I can get. It feels like it might be feasible, and it certainly warrants investigation. I have...
Just some updates on this. I released the fast source map branch in ```0.13.6``` which cuts build times for the example apps, and should be of some benefit for most...