diff --git a/client/next-dev.js b/client/next-dev.js index 3d62249c8613b..8453ebabd9d43 100644 --- a/client/next-dev.js +++ b/client/next-dev.js @@ -1,4 +1,3 @@ -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