This commit is contained in:
Nathan Bierema 2021-08-27 15:32:03 -04:00
parent ceff60326b
commit e8ff2f1acd
3 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import path from 'path'; import path from 'path';
import baseConfig from './base.config'; import baseConfig from './base.config';
export default baseConfig({ const config = baseConfig({
mode: 'production', mode: 'production',
inputExtra: { inputExtra: {
page: [path.join(__dirname, '../src/browser/extension/inject/pageScript')], page: [path.join(__dirname, '../src/browser/extension/inject/pageScript')],
@ -18,3 +18,5 @@ export default baseConfig({
'../src/browser/extension/manifest.json' '../src/browser/extension/manifest.json'
), ),
}); });
export default config;

View File

@ -1,7 +1,7 @@
import path from 'path'; import path from 'path';
import baseConfig from './base.config'; import baseConfig from './base.config';
export default baseConfig({ const config = baseConfig({
mode: 'production', mode: 'production',
output: { path: path.join(__dirname, '../build/extension') }, output: { path: path.join(__dirname, '../build/extension') },
globals: { globals: {
@ -15,3 +15,5 @@ export default baseConfig({
'../src/browser/firefox/manifest.json' '../src/browser/firefox/manifest.json'
), ),
}); });
export default config;

View File

@ -1,7 +1,7 @@
import path from 'path'; import path from 'path';
import baseConfig from './base.config'; import baseConfig from './base.config';
export default baseConfig({ const config = baseConfig({
mode: 'production', mode: 'production',
input: { input: {
page: [path.join(__dirname, '../src/browser/extension/inject/pageScript')], page: [path.join(__dirname, '../src/browser/extension/inject/pageScript')],
@ -13,3 +13,5 @@ export default baseConfig({
}, },
}, },
}); });
export default config;