Skip to content

Commit

Permalink
fix(tsconfig): update tsconfig to exclude node_modules and components/ui
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nexmoe committed May 7, 2024
1 parent 1be2543 commit 84a1a61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/flow/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ interface Props {
url?: string | null
title: string
id: string
space: boolean
space?: boolean
}
const props = defineProps<Props>()
</script>
Expand Down
8 changes: 6 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json"
}
"extends": "./.nuxt/tsconfig.json",
"exclude": [
"node_modules",
"components/ui"
]
}

0 comments on commit 84a1a61

Please sign in to comment.