Meta: Drop Parcel MV3 workaround (#319)

This commit is contained in:
Federico Brigante 2024-07-15 14:35:23 +07:00 committed by GitHub
parent 745604460d
commit 227656079a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7941 additions and 441 deletions

View File

@ -65,10 +65,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
# Drop after https://github.com/parcel-bundler/parcel/issues/9458
- run: npx dot-json@1 manifest.json background.scripts '["background.js"]' --json-value
working-directory: artifact
- run: npx web-ext@8 sign --channel listed
working-directory: artifact
env:

8369
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -36,10 +36,10 @@
},
"devDependencies": {
"@codemirror/view": "^6.28.2",
"@parcel/config-webextension": "^2.12.0",
"@parcel/config-webextension": "^2.12.1-canary.3290",
"@types/chrome": "^0.0.268",
"dot-json": "^1.3.0",
"parcel": "^2.12.0",
"parcel": "^2.0.0-canary.1665",
"xo": "^0.58.0"
},
"engines": {

View File

@ -80,7 +80,10 @@
],
"background": {
"type": "module",
"service_worker": "background.js"
"service_worker": "background.js",
"scripts": [
"background.js"
]
},
"web_accessible_resources": [
{