mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-13 06:49:19 -04:00
add audio to playground
This commit is contained in:
parent
9350baef3b
commit
fec9e5b91a
5 changed files with 12 additions and 6 deletions
|
@ -73,7 +73,9 @@ module.exports = [
|
|||
// Scratch Blocks
|
||||
'scratch-blocks/dist/vertical.js',
|
||||
// Renderer
|
||||
'scratch-render'
|
||||
'scratch-render',
|
||||
// Audio
|
||||
'scratch-audio'
|
||||
]
|
||||
},
|
||||
output: {
|
||||
|
@ -101,6 +103,10 @@ module.exports = [
|
|||
{
|
||||
test: require.resolve('scratch-render'),
|
||||
loader: 'expose?RenderWebGL'
|
||||
},
|
||||
{
|
||||
test: require.resolve('scratch-audio'),
|
||||
loader: 'expose?AudioEngine'
|
||||
}
|
||||
])
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue