[Suggestion] Consider using `esbuild` for 100x speedup
See original GitHub issueDo you want to request a feature or report a bug?
https://github.com/evanw/esbuild is a new bundler that is 100x more performant than current JS based bundlers. Large code-bases can be bundled and minified in under a second.
One issue with full migration to esbuild
is that babel plugins would not be supported. However, for users who do not use babel plugins, or who can work around it, there could be an option to switch metro from using babel to esbuild.
Alternatively, just the minifier from esbuild
could be used, as an extra option to terser
or uglify
.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:22
- Comments:5
Top Results From Across the Web
FAQ - ESBuild
#Why is esbuild fast? · It's written in Go and compiles to native code. Most other bundlers are written in JavaScript, but a...
Read more >ESbuild – A fast JavaScript bundler and minifier in Go
I've been studying the Go code in esbuild - very clean and extensible. I think this project has a lot of potential.
Read more >@netlify/esbuild-linux-64 | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >Speed up Node application build time with ESBuild
Official TypeScript compiler - this transpiler is written entierly in JavaScript, and because of that as the codebase grows, the time to build ......
Read more >Changelog - esbuild - Breword 文档集合
The bug with the old output above happened because esbuild considered the ... This could theoretically result in a speedup although I haven't...
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
Another option is swc https://swc.rs
Ah yes, was reading too fast. I’ve updated my comment