From 1a8f78e89220b5c122b48237ad864a24dd12dc34 Mon Sep 17 00:00:00 2001 From: Timeless0911 <1604889533@qq.com> Date: Tue, 25 Jun 2024 11:59:53 +0800 Subject: [PATCH] chore: add references for better source code link --- e2e/tsconfig.json | 10 ++++++++-- packages/core/tsconfig.json | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/e2e/tsconfig.json b/e2e/tsconfig.json index 2463c4ce8..9abcd7e59 100644 --- a/e2e/tsconfig.json +++ b/e2e/tsconfig.json @@ -1,8 +1,14 @@ { "extends": "@rslib/tsconfig/base", "compilerOptions": { - "noEmit": true + "noEmit": true, + "composite": true }, "include": ["cases", "playwright.config.ts", "cases/**/*.test.ts", "scripts"], - "exclude": ["**/node_modules", "**/.*/"] + "exclude": ["**/node_modules", "**/.*/"], + "references": [ + { + "path": "../packages/core" + } + ] } diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index 15d63dfe0..7cdecd6eb 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -6,6 +6,7 @@ "rootDir": "src", "declaration": true, "declarationDir": "./dist-types", + "composite": true, "module": "ESNext", "moduleResolution": "Bundler", "paths": {