A manifest generator for ESBuild designed to integrate with Symfony AssetMapper (Mercure). Version 1.0.1, stable. It generates an asset manifest file during ESBuild builds, enabling Symfony's AssetMapper to resolve versioned asset URLs. This package bridges ESBuild's build output with Symfony's asset management system, providing a streamlined workflow for JavaScript/CSS assets in Symfony projects. It ships TypeScript definitions and requires esbuild >= 0.14.0 as a peer dependency. Relatively new with limited adoption.
npm install asset-mapper-esbuildNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to integrate asset-mapper-esbuild plugin with ESBuild to generate an asset manifest file.
Ensure the generated manifest file (default: manifest.json) is committed to your repository or generated in the CI/CD pipeline.
Replace 'assetMap' with 'publicPath' and 'outputPath' options.
Update esbuild to version 0.14.0 or higher.
Install the package: npm install asset-mapper-esbuild
Use default import: import assetMapperEsbuildPlugin from 'asset-mapper-esbuild'
Install esbuild >=0.14.0: npm install esbuild@^0.14.0