Skip to content

Commit dd9886d

Browse files
committed
optimize(projects): optimize import config
1 parent 7d0234d commit dd9886d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: src/configs/import.ts

+8
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,18 @@ export async function createImportConfig(overrides: Record<string, string> = {})
55
const pluginImport = await interopDefault(import('eslint-plugin-import-x'));
66

77
const externalVue = [
8+
'vite',
9+
'vite/**',
10+
'vitepress',
11+
'vitepress/**',
12+
'vite-plugin-**',
813
'vue',
914
'@vue/**',
1015
'vue-router',
1116
'@vueuse/**',
17+
'unocss',
18+
'@unocss/**',
19+
'unplugin-**',
1220
'pinia',
1321
'naive-ui',
1422
'element-plus',

0 commit comments

Comments
 (0)