question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parcel 2: Web Manifest transformer

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:17
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

6reactions
Drapegnikcommented, Aug 13, 2019

Hi, @devongovett! I would like take this

4reactions
Banou26commented, Mar 23, 2020

Is this PR going to address web extensions manifest(#1039) as well ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

@parcel/transformer-webmanifest - npm
Start using @parcel/transformer-webmanifest in your project by running `npm i @parcel/transformer-webmanifest`. There are 2 other projects ...
Read more >
parcel/transformer-webmanifest NPM
Features. Blazing fast bundle times - multicore compilation, and a filesystem cache for fast rebuilds even after a restart.
Read more >
Web Extension - Parcel
Web Extensions are a set of APIs for building browser extensions that work ... Next, you'll need a manifest.json file, which will be...
Read more >
Could not find module "@parcel/transformer-webmanifest"
It's been working fine for a while, but now I wanted to add a web manifest which needs the package @parcel/transformer-webmanifest".
Read more >
Write a custom plugin for a bundler like parcel in a web app
I have my own nodejs web application which is using Parcel 2 to bundle the resources. { "name": "acme-web-app", "version": "0.0.1", ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found