mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-16 09:13:13 -04:00
Load music extension assets with require
This commit is contained in:
parent
9675a1b8cf
commit
063ac39019
4 changed files with 112 additions and 30 deletions
|
@ -22,6 +22,10 @@ const base = {
|
|||
query: {
|
||||
presets: ['es2015']
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.mp3$/,
|
||||
loader: 'file-loader'
|
||||
}]
|
||||
},
|
||||
plugins: process.env.NODE_ENV === 'production' ? [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue