rust-playground
rust-playground copied to clipboard
Migrate from webpack to esbuild
Disclaimer: I'm not a webdev so don't trust every things I say.
esbuild (https://github.com/evanw/esbuild) claims that
it is at least 100x faster than the other JavaScript bundlers they tested
It would be nice to use it instead of webpack, which is really slow.
which is really slow
I don’t find performance to be troublesome. yarn watch takes a few seconds to start, but I do that as I’m opening my editor and it’s generally ready by the time I make my first change.
It takes a few seconds in CI as well, but that’s not really a problem either.
If esbuild is a 100% compatible drop in with minimal config changes, I’m not against it.
Presumably it installs via yarn and doesn’t have any strange dependencies, so people used to the JS ecosystem aren’t confronted with something confusing?