mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-14 05:36:46 +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": "^3.0.1",
|
||||||
"redux-devtools-dock-monitor": "^1.0.1",
|
"redux-devtools-dock-monitor": "^1.0.1",
|
||||||
"redux-devtools-log-monitor": "^1.0.2",
|
"redux-devtools-log-monitor": "^1.0.2",
|
||||||
"webpack": "^1.9.11",
|
"webpack": "^2.5.1",
|
||||||
"webpack-dev-server": "^1.9.0"
|
"webpack-dev-server": "^2.4.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,17 +24,17 @@ module.exports = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
resolveLoader: {
|
resolveLoader: {
|
||||||
'fallback': path.join(__dirname, 'node_modules')
|
'modules': [path.join(__dirname, 'node_modules')]
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
loaders: [{
|
loaders: [{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
loaders: ['babel'],
|
loaders: ['babel-loader'],
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
include: path.join(__dirname, 'src')
|
include: path.join(__dirname, 'src')
|
||||||
}, {
|
}, {
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
loaders: ['babel'],
|
loaders: ['babel-loader'],
|
||||||
include: path.join(__dirname, '..', '..', 'src')
|
include: path.join(__dirname, '..', '..', 'src')
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user