esbuild for MSBuild
$ dotnet add package ESBuild.MSBuildESBuild.MSBuild is a NuGet package which wraps esbuild, enabling frontend builds without Node or NPM.
Add <PackageReference Include="ESBuild.MSBuild" /> to your .csproj file. This will set the property ESBuildPath, which can be used directly for low-level integrations (for exmaple, by the Exec task). For high-level use, add <EntryPoint> items to your project, as in
<ItemGroup>
<EntryPoint Include="index.js" />
</ItemGroup>
Each entry point will be copied to the output as a Bundle item.
The package contains esbuild binaries for MacOS, Windows and Linux (glibc), on AMD64 and ARM64.