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

27 lines
587 B
JavaScript
Raw Permalink Normal View History

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