Download Latest Version v0.25.12 source code.tar.gz (2.0 MB)
Email in envelope

Get an email when there's a new version of esbuild

Home / v0.25.11
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-10-15 1.7 kB
v0.25.11 source code.tar.gz 2025-10-15 2.0 MB
v0.25.11 source code.zip 2025-10-15 2.1 MB
Totals: 3 Items   4.1 MB 8
  • Add support for with { type: 'bytes' } imports (#4292)

    The import bytes proposal has reached stage 2.7 in the TC39 process, which means that although it isn't quite recommended for implementation, it's generally approved and ready for validation. Furthermore it has already been implemented by Deno and Webpack. So with this release, esbuild will also add support for this. It behaves exactly the same as esbuild's existing binary loader. Here's an example:

    js import data from './image.png' with { type: 'bytes' } const view = new DataView(data.buffer, 0, 24) const width = view.getInt32(16) const height = view.getInt32(20) console.log('size:', width + '\xD7' + height)

  • Lower CSS media query range syntax (#3748, #4293)

    With this release, esbuild will now transform CSS media query range syntax into equivalent syntax using min-/max- prefixes for older browsers. For example, the following CSS:

    css @media (640px <= width <= 960px) { main { display: flex; } }

    will be transformed like this with a target such as --target=chrome100 (or more specifically with --supported:media-range=false if desired):

    css @media (min-width: 640px) and (max-width: 960px) { main { display: flex; } }

Source: README.md, updated 2025-10-15