redux-devtools/extension/webpack/prod.config.babel.js

21 lines
473 B
JavaScript
Raw Permalink Normal View History

import path from 'path';
import baseConfig from './base.config';
export default baseConfig({
mode: 'production',
inputExtra: {
page: [path.join(__dirname, '../src/browser/extension/inject/pageScript')],
},
output: { path: path.join(__dirname, '../build/extension') },
globals: {
'process.env': {
NODE_ENV: '"production"',
},
},
copy: true,
2020-11-17 04:20:57 +03:00
manifestJsonPath: path.join(
__dirname,
'../src/browser/extension/manifest.json'
),
});