Skip to content

Commit

Permalink
fix development mode receiving ff manifest key
Browse files Browse the repository at this point in the history
  • Loading branch information
brumm committed Apr 1, 2021
1 parent 620a419 commit 861f165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build:chrome": "webpack --mode=production --env.browser=chrome",
"build:firefox": "webpack --mode=production --env.browser=firefox",
"postinstall": "npm run build > /dev/null && find ./unpacked-extension -type f -not -name 'manifest.json' -delete",
"start": "webpack --watch --mode=development",
"start": "webpack --watch --mode=development --env.browser=chrome",
"lint": "eslint ./src/**/*.js"
},
"prettier": {
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = ({ browser } = {}, { mode }) => {
description: pkg.description,
}

if (isProduction && isChrome) {
if (isChrome) {
delete manifest.applications
}

Expand Down

0 comments on commit 861f165

Please sign in to comment.