mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-28 22:30:40 -04:00
Playground: load renderer as UMD
The recent changes to the renderer's build output packaging broke this repository's playground / benchmark suite. These changes aren't the only way to fix the issue, but this is consistent with the way that the storage module was already being loaded.
This commit is contained in:
parent
490248f652
commit
3717394f00
3 changed files with 6 additions and 2 deletions
|
@ -122,7 +122,7 @@ module.exports = [
|
|||
},
|
||||
{
|
||||
test: require.resolve('scratch-render'),
|
||||
loader: 'expose-loader?RenderWebGL'
|
||||
loader: 'expose-loader?ScratchRender'
|
||||
}
|
||||
])
|
||||
},
|
||||
|
@ -134,6 +134,8 @@ module.exports = [
|
|||
from: 'node_modules/highlightjs/styles/zenburn.css'
|
||||
}, {
|
||||
from: 'node_modules/scratch-storage/dist/web'
|
||||
}, {
|
||||
from: 'node_modules/scratch-render/dist/web'
|
||||
}, {
|
||||
from: 'src/playground'
|
||||
}])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue