Compare commits

...
4 Commits
Author SHA1 Message Date
PPandGitHub 680cd32d00 add wasm.fallback module (#369) 2023-06-21 16:09:53 +08:00
zhakesiandGitHub dbc64aaa87 fix spine wasm with bad performance (#368) 2023-06-19 23:26:31 +08:00
PPandGitHub 246787c1e7 Revert "compress spine.asm.js for Taobao platform (#366)" (#367)
This reverts commit c96e5cf50d.
2023-06-19 15:32:02 +08:00
PPandGitHub c96e5cf50d compress spine.asm.js for Taobao platform (#366) 2023-06-19 15:09:48 +08:00
8 changed files with 43 additions and 17 deletions
+8
View File
@@ -6,6 +6,14 @@ declare module 'external:emscripten/*.wasm' {
export default wasmPath;
}
declare module 'external:emscripten/*.wasm.fallback' {
/**
* This is a wasm fallback url relative from build output chunk.
*/
const wasmFallbackPath: string;
export default wasmFallbackPath;
}
declare module 'external:emscripten/*.js.mem' {
/**
* This is a js.mem url relative from build output chunk.
File diff suppressed because one or more lines are too long
+4
View File
@@ -6,6 +6,10 @@ declare module 'external:emscripten/spine/spine.wasm.js' {
export default SpineWasm;
}
declare module 'external:emscripten/spine/spine.wasm.fallback.js' {
export default SpineWasm;
}
// tslint:disable
declare function SpineWasm (moduleOptions?: any): Promise<void>;
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long