Use MAJOR_VERSION from package.json

This commit is contained in:
Surma
2019-02-11 13:07:10 +00:00
parent 7998cf247b
commit efad4f612f
4 changed files with 8 additions and 6 deletions

View File

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