Add react-transform-hmre

This commit is contained in:
afc163 2016-02-11 21:53:54 +08:00
parent 4c21a1ac56
commit 2e839a42fa
2 changed files with 2 additions and 1 deletions

View File

@ -79,6 +79,7 @@
"babel-plugin-add-module-exports": "^0.1.1",
"babel-preset-es2015": "^6.1.18",
"babel-preset-react": "^6.1.18",
"babel-preset-react-hmre": "^1.1.0",
"babel-preset-stage-0": "^6.1.18",
"busboy": "^0.2.9",
"chalk": "^1.1.0",

View File

@ -35,7 +35,7 @@ module.exports = {
loader: 'babel',
query: {
cacheDirectory: true,
presets: ['es2015', 'react', 'stage-0'],
presets: ['es2015', 'react', 'stage-0', 'react-hmre'],
plugins: ['add-module-exports']
}
}, {