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:
Christopher Willis-Ford 2018-01-29 14:04:19 -08:00
parent 490248f652
commit 3717394f00
3 changed files with 6 additions and 2 deletions

View file

@ -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'
}])