Skip to content

Commit 4156846

Browse files
committed
更新构建脚本以简化构建过程,并在 tsconfig.json 中添加通配符路径别名以支持模块导入
1 parent bb4136b commit 4156846

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

apps/playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "module",
77
"scripts": {
88
"dev": "vite",
9-
"build": "tsc -b && vite build",
9+
"build": "vite build",
1010
"lint": "eslint .",
1111
"preview": "vite preview"
1212
},

apps/playground/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"@object-ui/plugin-charts": ["../../packages/plugin-charts/src"],
3232
"@object-ui/plugin-editor": ["../../packages/plugin-editor/src"],
3333
"@object-ui/plugin-kanban": ["../../packages/plugin-kanban/src"],
34-
"@object-ui/plugin-markdown": ["../../packages/plugin-markdown/src"]
34+
"@object-ui/plugin-markdown": ["../../packages/plugin-markdown/src"],
35+
"@/*": ["../../packages/components/src/*"]
3536
}
3637
},
3738
"include": ["src"]

0 commit comments

Comments
 (0)