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