Skip to content

Commit

Permalink
exclude vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Feb 12, 2025
1 parent d5cbfef commit 7ce12dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/browser/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"compilerOptions": {
"types": ["node", "vite/client"]
},
"exclude": ["dist", "node_modules"]
"exclude": ["dist", "node_modules", "**/vite.config.ts"]
}
4 changes: 2 additions & 2 deletions packages/ui/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { UserConfig } from 'vite'
import type { ViteUserConfig } from 'vitest/config'
import Vue from '@vitejs/plugin-vue'
import { resolve } from 'pathe'
import { presetAttributify, presetIcons, presetUno, transformerDirectives } from 'unocss'
Expand All @@ -13,7 +13,7 @@ import Pages from 'vite-plugin-pages'
// and ui using the link to load the report json data
// const debugLink = 'http://127.0.0.1:4173/__vitest__'

export const config: UserConfig = {
export const config: ViteUserConfig = {
root: __dirname,
base: './',
resolve: {
Expand Down
3 changes: 2 additions & 1 deletion test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"types": [
"node",
"vite/client"
]
],
"isolatedDeclarations": false
},
"include": [
"./**/*.ts"
Expand Down

0 comments on commit 7ce12dc

Please sign in to comment.