@esbuild/darwin-arm64
0.28.2 · 8 Aug 2026MIT20.6M / weekRepositoryHomepagenpmAtom feed
0.28.2 is the newest release of 0.17.x.
In short
1 new1 fixed
Release note
Fix CSS nesting transform for triple-nested rules that start with a combinator
This release fixes a bug with esbuild where triple-nested CSS rules that start with a combinator were not transformed correctly for older browsers. Here's an example of such a case before and after this bug fix:
/* Original input */ .a { color: red; > .b { color: green; > .c { color: blue; } } } /* Old output (with --target=chrome90) */ .a { color: red; } .a > .b { color: green; } .a .b > .c { color: blue; } /* New output (with --target=chrome90) */ .a { color: red; } .a > .b { color: green; } .a > .b > .c { color: blue; }Support
--injectwith a file loaded using thecopyloaderThis release now allows you to use
--injectwith a file that is loaded using thecopyloader. Thecopyloader copies the imported file to the output directory verbatim and rewrites the path in theimportstatement to point to the copied output file. When used with--inject, this means the injected file will be copied to the output directory as-is and a bareimportstatement for that file will be inserted in any non-copy output files that esbuild generates.Note that since esbuild doesn't parse the contents of copied files, esbuild will not expose any of the export names as usable imports when you do this (in the way that esbuild's
--injectfeature is typically used). However, any side-effects that the injected file has will still occur.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.