mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 17:49:52 +00:00
Use MAJOR_VERSION from package.json
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user