mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-12-04 07:23:52 +03:00
6782f4ae41
* Move extension * prettier
21 lines
457 B
JavaScript
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;
|