FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
esbuild Has a Free API That Compiles JavaScript 100x Faster Than Webpack
How-ToWeb Development

esbuild Has a Free API That Compiles JavaScript 100x Faster Than Webpack

via Dev.to WebdevAlex Spinov2h ago

esbuild is the Go-powered JavaScript bundler that transformed the build tool landscape. Its API is minimal but incredibly powerful. The Build API import * as esbuild from " esbuild " ; await esbuild . build ({ entryPoints : [ " src/index.ts " ], bundle : true , minify : true , sourcemap : true , splitting : true , format : " esm " , target : [ " es2020 " ], outdir : " dist " , metafile : true , // Generate build analysis }); The Transform API: In-Memory Compilation const result = await esbuild . transform ( tsCode , { loader : " tsx " , target : " es2020 " , jsx : " automatic " , minify : true , }); console . log ( result . code ); // Compiled JS console . log ( result . map ); // Source map No filesystem. No config files. Pure in-memory transformation. Plugin API: Extend Everything const httpPlugin = { name : " http-import " , setup ( build ) { // Intercept HTTP imports build . onResolve ({ filter : /^https ? : \/\/ / }, ( args ) => ({ path : args . path , namespace : " http-url " , }

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
0 views

Related Articles

Building a Simple Lab Result Agent in .NET (Microsoft Agent Framework + Ollama)
How-To

Building a Simple Lab Result Agent in .NET (Microsoft Agent Framework + Ollama)

Medium Programming • 31m ago

“You don’t need to learn programming anymore” — Reality Check from a CTO
How-To

“You don’t need to learn programming anymore” — Reality Check from a CTO

Medium Programming • 51m ago

The Biggest Lie in Bug Bounty Tutorials
How-To

The Biggest Lie in Bug Bounty Tutorials

Medium Programming • 1h ago

DAY 8: The System Was Never Meant to Pay You
How-To

DAY 8: The System Was Never Meant to Pay You

Medium Programming • 1h ago

How-To

MakerCode v2.0 Release

Medium Programming • 2h ago

Discover More Articles