File tree 1 file changed +16
-1
lines changed 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,13 @@ const common = {
12
12
13
13
const nodeBuilder = new ScratchWebpackConfigBuilder ( common )
14
14
. setTarget ( 'node' )
15
+ . merge ( {
16
+ output : {
17
+ library : {
18
+ name : 'VirtualMachine'
19
+ }
20
+ }
21
+ } )
15
22
. addModuleRule ( {
16
23
test : / \. m p 3 $ / ,
17
24
type : 'asset'
@@ -24,6 +31,11 @@ const webBuilder = new ScratchWebpackConfigBuilder(common)
24
31
fallback : {
25
32
Buffer : require . resolve ( 'buffer/' )
26
33
}
34
+ } ,
35
+ output : {
36
+ library : {
37
+ name : 'VirtualMachine'
38
+ }
27
39
}
28
40
} )
29
41
. addModuleRule ( {
@@ -56,7 +68,10 @@ const playgroundBuilder = webBuilder.clone()
56
68
'video-sensing-extension-debug' : './src/extensions/scratch3_video_sensing/debug'
57
69
} ,
58
70
output : {
59
- path : path . resolve ( __dirname , 'playground' )
71
+ path : path . resolve ( __dirname , 'playground' ) ,
72
+ library : {
73
+ name : 'VirtualMachine'
74
+ }
60
75
}
61
76
} )
62
77
. addModuleRule ( {
You can’t perform that action at this time.
0 commit comments