提交 8df7f0da 编写于 作者: N Naoyuki Kanezawa 提交者: Guillermo Rauch

fix HMR (#680)

上级 0551dc90
import 'react-hot-loader/patch'
import patch from './patch-react'
// apply patch first
......@@ -7,5 +6,7 @@ patch((err) => {
next.renderError(err)
})
require('react-hot-loader/patch')
const next = require('./next')
window.next = next
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册