feat: add Firefox manifest and webpack config

This commit is contained in:
adlee-was-taken
2026-04-12 13:14:38 -04:00
parent 051c98dece
commit b71ebcc418
4 changed files with 77 additions and 2 deletions

View File

@@ -4,9 +4,11 @@
"private": true,
"scripts": {
"build": "webpack --mode production",
"build:firefox": "webpack --config webpack.firefox.config.js --mode production",
"build:all": "npm run build:wasm && npm run build && npm run build:firefox",
"dev": "webpack --mode development --watch",
"build:wasm": "wasm-pack build ../crates/idfoto-wasm --target web --out-dir ../../extension/wasm",
"build:all": "npm run build:wasm && npm run build"
"dev:firefox": "webpack --config webpack.firefox.config.js --mode development --watch",
"build:wasm": "wasm-pack build ../crates/idfoto-wasm --target web --out-dir ../../extension/wasm"
},
"devDependencies": {
"@types/chrome": "^0.1.40",