1
0
mirror of synced 2025-11-06 04:21:02 +08:00

feat(runtime): 支持构建magic-admin的runtime产物

This commit is contained in:
roymondchen
2022-07-11 20:17:15 +08:00
committed by jia000
parent 7dc0b4e261
commit 014859fd2f
19 changed files with 34 additions and 19 deletions

View File

@@ -17,6 +17,7 @@
"playground:react": "pnpm --filter \"runtime-react\" --filter \"tmagic-playground\" dev:react",
"pg:react": "pnpm playground:react",
"build": "pnpm --filter \"@tmagic/*\" build",
"build:runtime:admin": "pnpm --filter \"runtime-*\" build:admin",
"build:playground": "pnpm --filter \"runtime-*\" --filter \"tmagic-playground\" build",
"postbuild:playground": "shx mkdir playground/dist/runtime && shx cp -r runtime/vue2/dist ./playground/dist/runtime/vue2 && shx cp -r runtime/vue3/dist ./playground/dist/runtime/vue3 && cp -r runtime/react/dist ./playground/dist/runtime/react",
"docs": "pnpm --filter \"docs\" dev",