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;