esbuild is a JavaScript bundler written in Go that supports blazing-fast ESNext & TypeScript transpilation and JS modification. esbuild-loader lets you harness the speed of esbuild in your Webpack build by offering faster alternatives for transpilation (eg. babel-loader/ts-loader) and minification (eg. Terser)! If you have a tsconfig.json file, esbuild-loader will automatically detect it. esbuild only supports a subset of tsconfig options (see TransformOptions interface) and does not do type-checks. It's recommended to use a type-aware IDE or tsc --noEmit for type-checking instead. It is also recommended to enable isolatedModules and esModuleInterop options in your tsconfig by the esbuild docs. You can replace JS minifiers like Terser or UglifyJs. Checkout the benchmarks to see how much faster esbuild is. The target option tells esbuild that it can use newer JS syntax to perform better minification.

Features

  • Javascript & JSX transpilation
  • Use the minify plugin in-place of the loader to transpile the JS
  • There are two ways to minify CSS, depending on your setup
  • If your CSS is extracted and emitted as a CSS file, you can replace CSS minification plugins
  • If your CSS is not emitted as a CSS file, but rather loaded via JS using something like style-loader, you can use the loader for minification
  • esbuild-loader comes with a version of esbuild it has been tested to work with

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow esbuild-loader

esbuild-loader Web Site

Other Useful Business Software
Stay in Flow. Let Zenflow Handle the Heavy Lifting. Icon
Stay in Flow. Let Zenflow Handle the Heavy Lifting.

Your AI engineering control center. Zenflow turns specs into shipped features using parallel agents and multi-repo intelligence.

Zenflow is your engineering control center, turning specs into shipped features. Parallel agents handle coding, testing, and refactoring with real repo context. Multi-agent workflows remove bottlenecks and automate routine work so developers stay focused and in flow.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of esbuild-loader!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software, TypeScript Build Tools

Registered

2022-04-06