Parcel 2: Web Manifest transformer

Create the @parcel/transformer-webmanifest package in packages/transforms/webmanifest. This package is a Parcel 2 transform plugin for web manifests. It should be based on the WebManifestAsset from Parcel 1.

The @parcel/transformer-webmanifest package is responsible for the following things:

  • Parsing JSON
  • Collecting dependencies
  • Rewriting urls
  • Generating JSON

We currently only handle the .webmanifest extension, but many people want to be able to use .json as well (#235, #1039). In order to support this, we need a way for the HTML transformer to specify that the dependency should be treated as a webmanifest file regardless of its actual extension.

2 thoughts on “Parcel 2: Web Manifest transformer