loadable({ resolved: {}, chunkName ({ foo }) { return `${foo}`.replace(/[^a-zA-Z0-9_!§$()=\\-^°]+/g, "-"); }, isReady (props) { const key = this.resolve(props); if (this.resolved[key] !== true) { return false; } if (typeof __webpack_modules__ !== 'undefined') { return !!__webpack_modules__[key]; } return false; }, importAsync: ({ foo })=>import(/*webpackChunkName: "[request]"*/ `./${foo}`), requireAsync (props) { const key = this.resolve(props); this.resolved[key] = false; return this.importAsync(props).then((resolved)=>{ this.resolved[key] = true; return resolved; }); }, requireSync (props) { const id = this.resolve(props); if (typeof __webpack_require__ !== 'undefined') { return __webpack_require__(id); } return eval('module.require')(id); }, resolve ({ foo }) { if (require.resolveWeak) { return require.resolveWeak(`./${foo}`); } return eval('require.resolve')(`./${foo}`); } });