From e8ff2f1acd5a74be76fe1f9ed51d20a8be2eb49f Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Fri, 27 Aug 2021 15:32:03 -0400 Subject: [PATCH] config --- extension/webpack/prod.config.babel.js | 4 +++- extension/webpack/prod.firefox.config.babel.js | 4 +++- extension/webpack/wrap.config.babel.js | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/extension/webpack/prod.config.babel.js b/extension/webpack/prod.config.babel.js index ff04e735..a00daf7b 100644 --- a/extension/webpack/prod.config.babel.js +++ b/extension/webpack/prod.config.babel.js @@ -1,7 +1,7 @@ import path from 'path'; import baseConfig from './base.config'; -export default baseConfig({ +const config = baseConfig({ mode: 'production', inputExtra: { page: [path.join(__dirname, '../src/browser/extension/inject/pageScript')], @@ -18,3 +18,5 @@ export default baseConfig({ '../src/browser/extension/manifest.json' ), }); + +export default config; diff --git a/extension/webpack/prod.firefox.config.babel.js b/extension/webpack/prod.firefox.config.babel.js index 54fdf8b9..08611e43 100644 --- a/extension/webpack/prod.firefox.config.babel.js +++ b/extension/webpack/prod.firefox.config.babel.js @@ -1,7 +1,7 @@ import path from 'path'; import baseConfig from './base.config'; -export default baseConfig({ +const config = baseConfig({ mode: 'production', output: { path: path.join(__dirname, '../build/extension') }, globals: { @@ -15,3 +15,5 @@ export default baseConfig({ '../src/browser/firefox/manifest.json' ), }); + +export default config; diff --git a/extension/webpack/wrap.config.babel.js b/extension/webpack/wrap.config.babel.js index 25b57d11..3e273c5a 100644 --- a/extension/webpack/wrap.config.babel.js +++ b/extension/webpack/wrap.config.babel.js @@ -1,7 +1,7 @@ import path from 'path'; import baseConfig from './base.config'; -export default baseConfig({ +const config = baseConfig({ mode: 'production', input: { page: [path.join(__dirname, '../src/browser/extension/inject/pageScript')], @@ -13,3 +13,5 @@ export default baseConfig({ }, }, }); + +export default config;