// momentum

tracking since W47

// why it's here

  • Active: last commit today
  • Built almost entirely by one person
  • Health 94/100 with only 16 stars

// how to help

// readme

scalajs-esbuild

scalajs-esbuild is a module bundler for Scala.js projects that use npm packages: it bundles the .js files emitted by the Scala.js compiler with their npm dependencies into a single .js file using esbuild.

Comparison to scalajs-vite

Compared to scalajs-vite, the historical difference was build performance. Before Vite 8, Vite used two different bundlers internally: esbuild for its dev server and Rollup for production builds. This meant that any workflow that needed a bundle went through Rollup โ€” which is significantly slower than esbuild. This is a problem for certain workflows, like running tests implemented with Scala testing frameworks, which are iterative and thus more sensitive to build performance. scalajs-esbuild uses esbuild for all builds, giving consistent, fast build times across every stage of the Scala.js development workflow.

Read the full README on GitHub โ†—