rust-playground icon indicating copy to clipboard operation
rust-playground copied to clipboard

Migrate from webpack to esbuild

Open tesuji opened this issue 5 years ago • 2 comments

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.

tesuji avatar Sep 20 '20 15:09 tesuji

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.

shepmaster avatar Sep 20 '20 15:09 shepmaster

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?

shepmaster avatar Sep 20 '20 15:09 shepmaster