redux-devtools/extension/webpack/dev.config.js
Nathan Bierema de1fd3add6
chore(extension): compile pug files using Webpack (#672)
* chore(extension): compile pug files using Webpack

* prettier
2020-11-16 16:43:49 -05:00

21 lines
454 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') },
globals: {
'process.env': {
NODE_ENV: '"development"',
},
},
plugins: [new webpack.NoEmitOnErrorsPlugin()],
});
config.watch = true;
export default config;