빌드 선언 생성 병목과 Vue 중복 타입 검사를 개선
This commit is contained in:
@@ -3,7 +3,11 @@
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist",
|
||||
"composite": false
|
||||
"composite": false,
|
||||
"paths": {
|
||||
"@sammo-ts/common": ["./src/index.ts"],
|
||||
"@sammo-ts/common/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { defineConfig } from 'tsdown';
|
||||
import { emitDeclarations } from '../../tools/build-scripts/emit-declarations.mjs';
|
||||
|
||||
export default defineConfig({
|
||||
entry: {
|
||||
@@ -18,9 +19,8 @@ export default defineConfig({
|
||||
},
|
||||
format: 'es',
|
||||
outDir: 'dist',
|
||||
dts: {
|
||||
build: true,
|
||||
},
|
||||
dts: false,
|
||||
hooks: { 'build:done': emitDeclarations },
|
||||
sourcemap: true,
|
||||
target: 'node22',
|
||||
platform: 'node',
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist",
|
||||
"composite": false
|
||||
"composite": false,
|
||||
"paths": {
|
||||
"@sammo-ts/infra": ["./src/index.ts"],
|
||||
"@sammo-ts/infra/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
|
||||
@@ -16,8 +16,11 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"useUnknownInCatchVariables": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true
|
||||
"noUnusedParameters": true,
|
||||
"paths": {
|
||||
"@sammo-ts/logic": ["./src/index.ts"],
|
||||
"@sammo-ts/logic/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src"],
|
||||
"references": [{ "path": "../common" }]
|
||||
"include": ["src"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user