2020-10-26 15:18:23 +03:00
|
|
|
import path from 'path';
|
|
|
|
import baseConfig from './base.config';
|
|
|
|
|
|
|
|
export default baseConfig({
|
2021-06-20 06:08:00 +03:00
|
|
|
mode: 'production',
|
|
|
|
inputExtra: {
|
2022-10-10 20:05:28 +03:00
|
|
|
page: [path.join(__dirname, '../src/pageScript')],
|
2021-06-20 06:08:00 +03:00
|
|
|
},
|
2020-11-17 00:43:49 +03:00
|
|
|
output: { path: path.join(__dirname, '../build/extension') },
|
2020-10-26 15:18:23 +03:00
|
|
|
globals: {
|
|
|
|
'process.env': {
|
|
|
|
NODE_ENV: '"production"',
|
|
|
|
},
|
|
|
|
},
|
2020-11-17 01:53:51 +03:00
|
|
|
copy: true,
|
2022-10-10 20:05:28 +03:00
|
|
|
manifestJsonPath: path.join(__dirname, '../chrome/manifest.json'),
|
2020-10-26 15:18:23 +03:00
|
|
|
});
|