File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " melonjs-typescript-boilerplate" ,
3
- "version" : " 1.5.1 " ,
3
+ "version" : " 1.5.2 " ,
4
4
"main" : " src/index.ts" ,
5
5
"author" : " Olivier Biot" ,
6
6
"license" : " MIT" ,
7
7
"devDependencies" : {
8
- "@types/node" : " ^20.11.16 " ,
9
- "sass" : " ^1.70 .0" ,
10
- "typescript" : " ^5.3.3 " ,
11
- "vite" : " ^5.0.12 " ,
8
+ "@types/node" : " ^20.12.7 " ,
9
+ "sass" : " ^1.75 .0" ,
10
+ "typescript" : " ^5.4.5 " ,
11
+ "vite" : " ^5.2.8 " ,
12
12
"vite-plugin-favicons-inject" : " ^2.2.0" ,
13
13
"vite-plugin-html" : " ^3.2.2" ,
14
- "vite-plugin-static-copy" : " ^1.0.1 "
14
+ "vite-plugin-static-copy" : " ^1.0.2 "
15
15
},
16
16
"browserslist" : " defaults" ,
17
17
"scripts" : {
20
20
"preview" : " vite preview"
21
21
},
22
22
"dependencies" : {
23
- "@melonjs/debug-plugin" : " ^14.8.2 " ,
24
- "melonjs" : " ^16.0 .0"
23
+ "@melonjs/debug-plugin" : " ^14.8.3 " ,
24
+ "melonjs" : " ^17.1 .0"
25
25
},
26
26
"type" : " module"
27
27
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ device.onReady(() => {
17
17
audio . init ( "mp3,ogg" ) ;
18
18
19
19
// allow cross-origin for image/texture loading
20
- loader . crossOrigin = "anonymous" ;
20
+ loader . setOptions ( { crossOrigin : "anonymous" } ) ;
21
21
22
22
// initialize the debug plugin in development mode.
23
23
if ( process . env . NODE_ENV === 'development' ) {
You can’t perform that action at this time.
0 commit comments