Skip to content

Commit 3fa902c

Browse files
authored
Merge pull request #376 from smalruby/fix/project-loading-hang
fix: resolve Scratch project loading hangs by copying storage chunks
2 parents dddadaa + ff3f392 commit 3fa902c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

webpack.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ const baseConfig = new ScratchWebpackConfigBuilder(
8080
context: 'node_modules/scratch-vm/dist/web',
8181
from: 'extension-worker.{js,js.map}',
8282
noErrorOnMissing: true
83+
},
84+
{
85+
context: 'node_modules/scratch-storage/dist/web',
86+
from: 'chunks/*.{js,js.map}',
87+
noErrorOnMissing: true
8388
}
8489
]
8590
}));

0 commit comments

Comments
 (0)