Commit 8df7f0da authored by Naoyuki Kanezawa's avatar Naoyuki Kanezawa Committed by Guillermo Rauch

fix HMR (#680)

parent 0551dc90
import 'react-hot-loader/patch'
import patch from './patch-react' import patch from './patch-react'
// apply patch first // apply patch first
...@@ -7,5 +6,7 @@ patch((err) => { ...@@ -7,5 +6,7 @@ patch((err) => {
next.renderError(err) next.renderError(err)
}) })
require('react-hot-loader/patch')
const next = require('./next') const next = require('./next')
window.next = next window.next = next
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment