From 84a1a61a6799c41df204a97a00d6f7721d3cd416 Mon Sep 17 00:00:00 2001 From: Nexmoe <16796652+nexmoe@users.noreply.github.com> Date: Tue, 7 May 2024 11:50:59 +0800 Subject: [PATCH] fix(tsconfig): update tsconfig to exclude node_modules and components/ui Update tsconfig to exclude "node_modules" and "components/ui" for better TypeScript compilation. This helps to improve build performance and avoid unnecessary files in the compilation process. --- components/flow/Header.vue | 2 +- tsconfig.json | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/components/flow/Header.vue b/components/flow/Header.vue index 9bbac60..7947714 100644 --- a/components/flow/Header.vue +++ b/components/flow/Header.vue @@ -3,7 +3,7 @@ interface Props { url?: string | null title: string id: string - space: boolean + space?: boolean } const props = defineProps() diff --git a/tsconfig.json b/tsconfig.json index 947f6b6..fc7c659 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,8 @@ { // https://nuxt.com/docs/guide/concepts/typescript - "extends": "./.nuxt/tsconfig.json" -} + "extends": "./.nuxt/tsconfig.json", + "exclude": [ + "node_modules", + "components/ui" + ] +} \ No newline at end of file