微信小程序-省心预览工具
This commit is contained in:
commit
edf1e51846
173 files changed
+78282
No files matched your search
@@ -0,0 +1,11 @@
|
||||
// Spine 4.2 运行时打包入口
|
||||
// 官方 npm 包是纯 ESM(type: module),微信小程序的模块系统只支持 CommonJS,
|
||||
// 因此这里用 esbuild 预打包成单个 CJS 文件(vendor/spine.js),
|
||||
// 使小程序运行时无需 node_modules、无需「构建 npm」。
|
||||
//
|
||||
// 重新打包命令:npm run build:spine
|
||||
|
||||
import * as core from '@esotericsoftware/spine-core'
|
||||
import * as webgl from '@esotericsoftware/spine-webgl'
|
||||
|
||||
export { core, webgl }
|
||||
Reference in new issue
Block a user