mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
Add react-transform-hmre
This commit is contained in:
parent
4c21a1ac56
commit
2e839a42fa
@ -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",
|
||||
|
@ -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']
|
||||
}
|
||||
}, {
|
||||
|
Loading…
Reference in New Issue
Block a user