fix: adapt to new scratch-storage@>=3 API

This commit is contained in:
Christopher Willis-Ford 2024-12-20 13:15:02 -08:00
parent ec47dee233
commit 4cf4e24b40
4 changed files with 4 additions and 4 deletions

View file

@ -95,7 +95,7 @@ const playgroundBuilder = webBuilder.clone()
}
})
.addModuleRule({
test: require.resolve('scratch-storage/src/index.js'),
test: require.resolve('scratch-storage/src/index.ts'),
loader: 'expose-loader',
options: {
exposes: 'ScratchStorage'