import 'react-hot-loader/patch' import * as next from './next' window.next = next