mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-22 12:09:51 -04:00
Load projects & costumes through scratch-storage
This also sets up the framework to load sounds through scratch-storage, to be finished in a later change.
This commit is contained in:
parent
2ebb112d30
commit
c23e9c6bf8
8 changed files with 213 additions and 64 deletions
|
@ -64,10 +64,12 @@ module.exports = [
|
|||
'highlightjs/highlight.pack.min.js',
|
||||
// Scratch Blocks
|
||||
'scratch-blocks/dist/vertical.js',
|
||||
// Audio
|
||||
'scratch-audio',
|
||||
// Renderer
|
||||
'scratch-render',
|
||||
// Audio
|
||||
'scratch-audio'
|
||||
// Storage
|
||||
'scratch-storage'
|
||||
]
|
||||
},
|
||||
output: {
|
||||
|
@ -92,13 +94,17 @@ module.exports = [
|
|||
test: require.resolve('scratch-blocks/dist/vertical.js'),
|
||||
loader: 'expose-loader?Blockly'
|
||||
},
|
||||
{
|
||||
test: require.resolve('scratch-audio'),
|
||||
loader: 'expose-loader?AudioEngine'
|
||||
},
|
||||
{
|
||||
test: require.resolve('scratch-render'),
|
||||
loader: 'expose-loader?RenderWebGL'
|
||||
},
|
||||
{
|
||||
test: require.resolve('scratch-audio'),
|
||||
loader: 'expose-loader?AudioEngine'
|
||||
test: require.resolve('scratch-storage'),
|
||||
loader: 'expose-loader?Scratch.Storage'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue