chore: 添加子包构建统一build路径 && @backset/ui继承了全局tsconfig.build.json

This commit is contained in:
mozzie 2023-02-11 09:51:44 +08:00
parent eaba2f1bca
commit 2ce2f1d3e2
3 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,10 @@
"main": "index.js",
"scripts": {
"dev:apps-server": "cd apps/server && pnpm start:dev",
"dev:apps-admin": "cd apps/admin && pnpm dev"
"dev:apps-admin": "cd apps/admin && pnpm dev",
"build:pkgs": "pnpm build:ui && pnpm build:util",
"build:ui": "cd packages/ui && pnpm build",
"build:util": "cd packages/util && pnpm build"
},
"keywords": [],
"author": "",

View File

@ -1,8 +1,6 @@
{
"extends": "../../tsconfig.build.json",
"compilerOptions": {
"outDir": "./dist",
"target": "es5",
"declaration": true,
"sourceMap": true
"outDir": "./dist"
}
}

View File

@ -145,7 +145,7 @@ export default defineConfig({
# 待解决的问题
## 自动化编译构建依赖
## 自动化编译构建依赖?真的需要吗?
monorepo 下开发阶段本地的子包实时的编译、构建每次开发完子包build 手动太麻烦了