fix: music extension sounds were not loading correctly

This commit is contained in:
Christopher Willis-Ford 2024-09-07 01:01:06 -07:00
parent 5a6646f664
commit c3759e8e99
4 changed files with 67 additions and 77 deletions

View file

@ -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',