We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 058685f commit 0f3a847Copy full SHA for 0f3a847
webpack.config.js
@@ -8,6 +8,7 @@ const base = {
8
devtool: 'cheap-module-source-map',
9
output: {
10
library: 'VirtualMachine',
11
+ libraryTarget: 'umd',
12
filename: '[name].js'
13
},
14
module: {
@@ -43,7 +44,6 @@ module.exports = [
43
44
'scratch-vm.min': './src/index.js'
45
46
- libraryTarget: 'umd',
47
path: path.resolve('dist', 'web')
48
49
@@ -65,7 +65,6 @@ module.exports = [
65
'scratch-vm': './src/index.js'
66
67
68
- libraryTarget: 'commonjs2',
69
path: path.resolve('dist', 'node')
70
71
externals: {
0 commit comments