https://github.com/mugi-uno/parcel-plugin-bundle-manifest, but for Parcel 2
npm install parcel-reporter-bundle-manifestThis will add parcel-manifest.json to the target dir. Example:
``json`
{
"index.html": "/index.html",
"layout.css": "/layout.f955332a.css",
"editor.css": "/editor.e1160f52.css",
"editor.tsx": "/editor.9099e93e.js"
}
`sh`
npm install --save-dev parcel-reporter-bundle-manifest
Add parcel-reporter-bundle-manifest to .parcelrc in reporters.
`json`
{
"extends": "@parcel/config-default",
"reporters": ["...", "parcel-reporter-bundle-manifest"]
}
- https://github.com/parcel-bundler/parcel#parcelrcreporters
- https://github.com/parcel-bundler/parcel#reporters
1. Bump the version in package.jsonmain` branch in GitHub
2. Push to the
3. Create a release for that version
This plugin behave similarly to https://github.com/mugi-uno/parcel-plugin-bundle-manifest.
parcel-reporter-bundle-manifest © Autify Engineers. Released under the MIT License.
Authored and maintained by Autify Engineers with help from contributors.