redux-devtools/extension/webpack/dev.config.js
Nathan Bierema 6782f4ae41
chore(extension): add extension (#658)
* Move extension

* prettier
2020-10-26 08:18:23 -04:00

21 lines
457 B
JavaScript

import path from 'path';
import webpack from 'webpack';
import baseConfig from './base.config';
let config = baseConfig({
inputExtra: {
page: [path.join(__dirname, '../src/browser/extension/inject/pageScript')],
},
output: { path: path.join(__dirname, '../dev/js') },
globals: {
'process.env': {
NODE_ENV: '"development"',
},
},
plugins: [new webpack.NoEmitOnErrorsPlugin()],
});
config.watch = true;
export default config;