Only expose VirtualMachine to window for bundles

This commit is contained in:
Ray Schamp 2016-09-20 10:29:47 -04:00
parent 499ba5235c
commit fa10a2279a
5 changed files with 788 additions and 410 deletions

View file

@ -14,6 +14,9 @@ module.exports = {
{
test: /\.json$/,
loader: 'json-loader'
}, {
test: require.resolve('./src/index.js'),
loader: 'expose?VirtualMachine'
}
]
},