Trying to bend webpack to my will

This commit is contained in:
Surma
2019-02-22 13:15:33 +00:00
parent f24d41ba74
commit 2e478b323a
6 changed files with 60 additions and 10 deletions

View File

@@ -72,8 +72,7 @@ export default class App extends Component<Props, State> {
window.addEventListener('popstate', this.onPopState);
import(
/* webpackChunkName: "client-api" */
'./client-api',
).then(m => m.exposeAPI(this));
'./client-api').then(m => m.exposeAPI(this));
}
@bind openFile(file: File | Fileish) {