c3-lib is built and copied even if c3 runtime is not edited.

This commit is contained in:
Davide Tantillo 2025-11-04 12:22:40 +01:00
parent 21c2166fcb
commit e7787cc49c

View File

@ -45,8 +45,9 @@
"dev:modules": "npm run build:modules -- --watch",
"dev:canvas": "concurrently \"npm run build:canvas:iife -- --watch\" \"npm run build:canvas:esm -- --watch\"",
"dev:canvaskit": "concurrently \"npm run build:canvaskit:iife -- --watch\" \"npm run build:canvaskit:esm -- --watch\"",
"dev:construct3": "tsc-watch --project spine-construct3/tsconfig.json --onCompilationComplete \"npm run build:construct3:copy-assets\"",
"dev:construct3": "concurrently \"tsc-watch --project spine-construct3/tsconfig.json --onCompilationComplete \\\"npm run build:construct3:copy-assets\\\"\" \"npm run dev:construct3-lib:watch-copy\"",
"dev:construct3-lib": "npm run build:construct3-lib -- --watch",
"dev:construct3-lib:watch-copy": "chokidar \"spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js\" -c \"npx copyfiles -u 4 spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js spine-construct3/dist/c3runtime\" --initial",
"dev:webgl": "concurrently \"npm run build:webgl:iife -- --watch\" \"npm run build:webgl:esm -- --watch\"",
"dev:phaser-v3": "concurrently \"npm run build:phaser-v3:iife -- --watch\" \"npm run build:phaser-v3:esm -- --watch\"",
"dev:phaser-v4": "concurrently \"npm run build:phaser-v4:iife -- --watch\" \"npm run build:phaser-v4:esm -- --watch\"",