This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
2017-05-12 00:23:56 +00:00
|
|
|
// @flow
|
2016-06-05 21:05:01 +00:00
|
|
|
export default () => {
|
|
|
|
return new Promise(resolve => {
|
2017-05-12 00:23:56 +00:00
|
|
|
// $FlowIssue this is available with webpack
|
2016-06-05 21:05:01 +00:00
|
|
|
require.ensure([], () => {
|
|
|
|
resolve({
|
|
|
|
Editor: require('./Editor').default,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|