File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/vs/gitpod/browser/workbench/contrib Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import { CancellationTokenSource } from '../../../../base/common/cancellation.js
16
16
import type * as zipModule from '@zip.js/zip.js' ;
17
17
import { Schemas } from '../../../../base/common/network.js' ;
18
18
import { triggerDownload } from '../../../../base/browser/dom.js' ;
19
+ import { importAMDNodeModule } from '../../../../amdX.js' ;
19
20
20
21
const getZipModule = ( function ( ) {
21
22
let zip : typeof zipModule ;
@@ -25,7 +26,7 @@ const getZipModule = (function () {
25
26
// without the dot because loader.js will do a check for `.js` extension
26
27
// and it won't resolve the module path correctly
27
28
// @ts -ignore
28
- zip = await import ( '@zip.js/zipjs ' ) ;
29
+ zip = await importAMDNodeModule < typeof import ( '@zip.js/zip.js' ) > ( '@zip.js/zip.js' , 'dist/zip-no-worker-deflate.min.js ') ;
29
30
zip . configure ( {
30
31
useWebWorkers : false
31
32
} ) ;
You can’t perform that action at this time.
0 commit comments