[Build] Improve build times by switching to `esbuild`
See original GitHub issueBuilding the packages currently takes 5 - 8 minutes on the CI and I think we can massively improve this by using either preconstruct
or esbuild
.
Possible ideas:
- https://github.com/twilio-labs/paste/blob/012333451cc36383cd4dc6f79fb1e678da676d66/tools/build/esbuild.js
- https://sourcegraph.com/github.com/vladmandic/face-api@ac172b8be50f2b020c22a2dda43a10e0e92d7441/-/blob/server/build.js?L14
- https://sourcegraph.com/github.com/prisma/prisma/-/blob/packages/engine-core/helpers/build.js?L3
If anyone wants to take on this task, that would be amazing!
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Cut down your Webpack build times by half with esbuild-loader
As your project grows larger, your build times get longer. There is a need to reduce build times. When I say reduce build...
Read more >Speed Up your webpack Build by 10X - YouTube
If you are struggling with the long wait for your Webpack builds primarily in the CI/CD or when in development. Using ESBuild utilises ......
Read more >FAQ - ESBuild
js library 10 times and building a single bundle from scratch, without any caches. The benchmark can be run with make bench-three in...
Read more >webpack or esbuild: Why not both? - LogRocket Blog
Builds can be made faster using tools like esbuild. However, if you're invested in webpack but would still like to take advantage of ......
Read more >Cut down your Webpack build times by half with esbuild-loader
For those not wanting to click the article, they used the esbuild-loader plugin (which uses esbuild, written in Go, for bundling) with ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hiroppy, thanks for chiming in!
Feel free to take on this ticket if you want.
I think yes because chakra-ui has its own babel plugin but in my understanding, swc doesn’t support babel-plugin now, right?