Greg Bergé 10318b042e fix: fix module resolving
This issue fixes #59

It is possible to create a configuration which will result into a wrong state but it should not happen in 99.99% cases.
2018-05-12 16:09:44 +02:00

7 lines
161 B
JavaScript

import React, { Component } from 'react'
import loadable from 'loadable-components'
const Loaded = loadable(() => import('./Component'))
export default Loaded