File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const importLoadSound = require('../import/load-sound');
43
43
const soundMiddleware = new LoadingMiddleware ( ) ;
44
44
importLoadSound . loadSound = soundMiddleware . install ( importLoadSound , importLoadSound . loadSound ) ;
45
45
46
- const ScratchStorage = require ( 'scratch-storage' ) ;
46
+ const { ScratchStorage} = require ( 'scratch-storage' ) ;
47
47
const VirtualMachine = require ( '..' ) ;
48
48
const Runtime = require ( '../engine/runtime' ) ;
49
49
Original file line number Diff line number Diff line change 1
- const ScratchStorage = require ( 'scratch-storage' ) ;
1
+ const { ScratchStorage} = require ( 'scratch-storage' ) ;
2
2
3
3
const ASSET_SERVER = 'https://cdn.assets.scratch.mit.edu/' ;
4
4
const PROJECT_SERVER = 'https://cdn.projects.scratch.mit.edu/' ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const path = require('path');
8
8
const fs = require ( 'fs' ) ;
9
9
const test = require ( 'tap' ) . test ;
10
10
const AdmZip = require ( 'adm-zip' ) ;
11
- const ScratchStorage = require ( 'scratch-storage' ) ;
11
+ const { ScratchStorage} = require ( 'scratch-storage' ) ;
12
12
const VirtualMachine = require ( '../../src/index' ) ;
13
13
14
14
const projectUri = path . resolve ( __dirname , '../fixtures/offline-custom-assets.sb2' ) ;
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ const playgroundBuilder = webBuilder.clone()
95
95
}
96
96
} )
97
97
. addModuleRule ( {
98
- test : require . resolve ( 'scratch-storage/src/index.js ' ) ,
98
+ test : require . resolve ( 'scratch-storage/src/index.ts ' ) ,
99
99
loader : 'expose-loader' ,
100
100
options : {
101
101
exposes : 'ScratchStorage'
You can’t perform that action at this time.
0 commit comments