mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-11 04:07:34 +03:00
Fix hot reloading DevTools UI
This commit is contained in:
parent
74426b4f8e
commit
52b5439986
|
@ -25,6 +25,9 @@ module.exports = {
|
||||||
},
|
},
|
||||||
extensions: ['', '.js']
|
extensions: ['', '.js']
|
||||||
},
|
},
|
||||||
|
resolveLoader: {
|
||||||
|
'fallback': path.join(__dirname, 'node_modules')
|
||||||
|
},
|
||||||
module: {
|
module: {
|
||||||
loaders: [{
|
loaders: [{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
|
@ -33,7 +36,7 @@ module.exports = {
|
||||||
include: __dirname
|
include: __dirname
|
||||||
}, {
|
}, {
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
loaders: ['babel'],
|
loaders: ['react-hot', 'babel'],
|
||||||
include: path.join(__dirname, '..', '..', 'src')
|
include: path.join(__dirname, '..', '..', 'src')
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,9 @@ module.exports = {
|
||||||
},
|
},
|
||||||
extensions: ['', '.js']
|
extensions: ['', '.js']
|
||||||
},
|
},
|
||||||
|
resolveLoader: {
|
||||||
|
'fallback': path.join(__dirname, 'node_modules')
|
||||||
|
},
|
||||||
module: {
|
module: {
|
||||||
loaders: [{
|
loaders: [{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
|
@ -33,7 +36,7 @@ module.exports = {
|
||||||
include: __dirname
|
include: __dirname
|
||||||
}, {
|
}, {
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
loaders: ['babel'],
|
loaders: ['react-hot', 'babel'],
|
||||||
include: path.join(__dirname, '..', '..', 'src')
|
include: path.join(__dirname, '..', '..', 'src')
|
||||||
}, {
|
}, {
|
||||||
test: /\.css?$/,
|
test: /\.css?$/,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user