mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
changes
This commit is contained in:
parent
e899f92019
commit
3ff3ab500f
|
@ -33,10 +33,7 @@ const baseConfig = (params) => ({
|
||||||
new webpack.DefinePlugin(params.globals),
|
new webpack.DefinePlugin(params.globals),
|
||||||
...(params.plugins
|
...(params.plugins
|
||||||
? params.plugins
|
? params.plugins
|
||||||
: [
|
: [new webpack.optimize.ModuleConcatenationPlugin()]),
|
||||||
new webpack.optimize.ModuleConcatenationPlugin(),
|
|
||||||
new webpack.optimize.OccurrenceOrderPlugin(),
|
|
||||||
]),
|
|
||||||
].concat(
|
].concat(
|
||||||
params.copy
|
params.copy
|
||||||
? new CopyPlugin({
|
? new CopyPlugin({
|
||||||
|
|
|
@ -51,7 +51,6 @@ module.exports = (env: { production?: boolean } = {}) => ({
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
'process.env': {
|
'process.env': {
|
||||||
NODE_ENV: JSON.stringify('production'),
|
|
||||||
PLATFORM: JSON.stringify('web'),
|
PLATFORM: JSON.stringify('web'),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user