mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 19:13:56 +03:00
326cfdf217
* Add packages * misc changes * Work * Fix missing package * Remove lint for now * Test differently * Try no-sandbox * Test * Try that * Try that * Test * Not headless? * Test electron * Try Windows * lerna run test * Update
27 lines
587 B
JavaScript
27 lines
587 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/browser/extension/inject/pageScript')],
|
|
},
|
|
output: { path: path.join(__dirname, '../dev') },
|
|
globals: {
|
|
'process.env': {
|
|
NODE_ENV: '"development"',
|
|
},
|
|
},
|
|
plugins: [new webpack.NoEmitOnErrorsPlugin()],
|
|
copy: true,
|
|
manifestJsonPath: path.join(
|
|
__dirname,
|
|
'../src/browser/extension/manifest.json'
|
|
),
|
|
});
|
|
|
|
config.watch = true;
|
|
|
|
export default config;
|