Open Akron opened 8 years ago
Currently the goto builder for JS seems to be esbuild, so we should probably give this a try. Privately I switched to rollup.js, but I can't recommend it.
I played with Vite a bit on the weekend and it's quite nice and simple. For building it uses rollup and it seems to hide al the uglyness.
Grunt is a monolithic module builder, meaning all scripts are bundled in one large file. This is problematic with large dependencies that are not needed from start, e.g. libraris for tree visualization or statistic visualizations like d3.
WebPack is able to load dependencies asynchronously in chunks (using the already used AMD/commonJS formalism). So in the beginning this should load the page faster and use less memory on the client side.