mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-28 22:30:40 -04:00
Only expose VirtualMachine to window for bundles
This commit is contained in:
parent
499ba5235c
commit
fa10a2279a
5 changed files with 788 additions and 410 deletions
|
@ -14,6 +14,9 @@ module.exports = {
|
|||
{
|
||||
test: /\.json$/,
|
||||
loader: 'json-loader'
|
||||
}, {
|
||||
test: require.resolve('./src/index.js'),
|
||||
loader: 'expose?VirtualMachine'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue