mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-11 04:07:34 +03:00
Upgrade webpack to version to 2. This provides better support for file change detection and hot module reloading on Linux. (#362)
This commit is contained in:
parent
687a855192
commit
6a46404ba7
|
@ -35,7 +35,7 @@
|
|||
"redux-devtools": "^3.0.1",
|
||||
"redux-devtools-dock-monitor": "^1.0.1",
|
||||
"redux-devtools-log-monitor": "^1.0.2",
|
||||
"webpack": "^1.9.11",
|
||||
"webpack-dev-server": "^1.9.0"
|
||||
"webpack": "^2.5.1",
|
||||
"webpack-dev-server": "^2.4.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,17 +24,17 @@ module.exports = {
|
|||
}
|
||||
},
|
||||
resolveLoader: {
|
||||
'fallback': path.join(__dirname, 'node_modules')
|
||||
'modules': [path.join(__dirname, 'node_modules')]
|
||||
},
|
||||
module: {
|
||||
loaders: [{
|
||||
test: /\.js$/,
|
||||
loaders: ['babel'],
|
||||
loaders: ['babel-loader'],
|
||||
exclude: /node_modules/,
|
||||
include: path.join(__dirname, 'src')
|
||||
}, {
|
||||
test: /\.js$/,
|
||||
loaders: ['babel'],
|
||||
loaders: ['babel-loader'],
|
||||
include: path.join(__dirname, '..', '..', 'src')
|
||||
}]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user