mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-29 04:53:54 +03:00
6cc517d97e
* Move background to top-level * Move devpanel to top-level * Move devtools to top-level * Move options to top-level * Move window to top-level * Move chromeApiMock to top-level * Move manifests to top-level * Move contentScript to top-level * Move pageScript to top-level * Update tests * Update Webpack config * Fix path
24 lines
535 B
JavaScript
24 lines
535 B
JavaScript
import path from 'path';
|
|
import webpack from 'webpack';
|
|
import baseConfig from './base.config';
|
|
|
|
let config = baseConfig({
|
|
mode: 'development',
|
|
inputExtra: {
|
|
page: [path.join(__dirname, '../src/pageScript')],
|
|
},
|
|
output: { path: path.join(__dirname, '../dev') },
|
|
globals: {
|
|
'process.env': {
|
|
NODE_ENV: '"development"',
|
|
},
|
|
},
|
|
plugins: [new webpack.NoEmitOnErrorsPlugin()],
|
|
copy: true,
|
|
manifestJsonPath: path.join(__dirname, '../chrome/manifest.json'),
|
|
});
|
|
|
|
config.watch = true;
|
|
|
|
export default config;
|