Esbuild 0.9
github.com
Esbuild 0.9
1–10 of 123 posts
Re: Esbuild 0.9
#2Re: Esbuild 0.9
#3https://github.com/bpierre/esbuild-config
(disclaimer: I am the author)
Re: Esbuild 0.9
#4Re: Esbuild 0.9
#5 esbuild App.tsx --define:process.env.NODE_ENV=\\\"production\\\" --bundle --minify --target=es6 --outfile=out.js
where App.tsx is your entry point. Include out.js into the page and you're done.Re: Esbuild 0.9
#6now we need to rewrite tsc/babel/npm/eslint/etc... in a language that compile down to native binary that is also cross platform (like go or rust),
to gain the same performance improvements across the entire JS tool-chain.
* based on the benchmark on their landing page.
Re: Esbuild 0.9
#7Re: Esbuild 0.9
#8Hell yes, esbuild is an amazing tool. I not only use it in most CRA projects (where it replaces webpack and builds everything at least two times faster), but it's also easy to use for plain HTML pages to add some interactivity without writing thousands of lines of webpack black magic: esbuild App.tsx --define:process.env.NODE_ENV=\\\"production\\\" --bundle --minify --target=es6 --outfile=out.js where App.tsx is your…
Re: Esbuild 0.9
#9waiting for js bundler written in Rust
Re: Esbuild 0.9
#10waiting for js bundler written in Rust