mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-04 11:53:30 +03:00
chore(redux-devtools-inspector): fix webpack config
This commit is contained in:
parent
26f8aca7db
commit
c20e4e33cd
|
@ -37,12 +37,7 @@ module.exports = {
|
||||||
})
|
})
|
||||||
].concat(
|
].concat(
|
||||||
isProduction
|
isProduction
|
||||||
? [
|
? []
|
||||||
new webpack.optimize.UglifyJsPlugin({
|
|
||||||
compress: { warnings: false },
|
|
||||||
output: { comments: false }
|
|
||||||
})
|
|
||||||
]
|
|
||||||
: [
|
: [
|
||||||
new ExportFilesWebpackPlugin('demo/dist/index.html'),
|
new ExportFilesWebpackPlugin('demo/dist/index.html'),
|
||||||
new webpack.HotModuleReplacementPlugin()
|
new webpack.HotModuleReplacementPlugin()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user