mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-28 22:30:40 -04:00
fix: music extension sounds were not loading correctly
This commit is contained in:
parent
5a6646f664
commit
c3759e8e99
4 changed files with 67 additions and 77 deletions
|
@ -20,10 +20,6 @@ const nodeBuilder = new ScratchWebpackConfigBuilder(common)
|
|||
name: 'VirtualMachine'
|
||||
}
|
||||
}
|
||||
})
|
||||
.addModuleRule({
|
||||
test: /\.mp3$/,
|
||||
type: 'asset'
|
||||
});
|
||||
|
||||
const webBuilder = new ScratchWebpackConfigBuilder(common)
|
||||
|
@ -43,10 +39,6 @@ const webBuilder = new ScratchWebpackConfigBuilder(common)
|
|||
}
|
||||
}
|
||||
})
|
||||
.addModuleRule({
|
||||
test: /\.mp3$/,
|
||||
type: 'asset'
|
||||
})
|
||||
.addModuleRule({
|
||||
test: require.resolve('./src/index.js'),
|
||||
loader: 'expose-loader',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue