From 861f165820df9efa02d2b0084e7b52271549ce41 Mon Sep 17 00:00:00 2001 From: Philipp Brumm Date: Thu, 1 Apr 2021 14:48:42 +0200 Subject: [PATCH] fix development mode receiving ff manifest key --- package.json | 2 +- webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dfd0113..4c009ee 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/webpack.config.js b/webpack.config.js index 7d33352..eb94bdd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -20,7 +20,7 @@ module.exports = ({ browser } = {}, { mode }) => { description: pkg.description, } - if (isProduction && isChrome) { + if (isChrome) { delete manifest.applications }