File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,20 @@ function setEntry(name: string) {
7272 </template >
7373
7474 <template #tab-prefix =" { value } " >
75+ <div
76+ v-if =" value.startsWith('tsconfig.') && value.endsWith('.json')"
77+ i-vscode-icons:file-type-tsconfig
78+ h-3.5
79+ title =" TypeScript Config"
80+ />
81+ <img
82+ v-else-if =" CONFIG_FILES.includes(value)"
83+ src =" /rolldown-bracketless.svg"
84+ h-3.5
85+ title =" Config File"
86+ />
7587 <button
76- v-if = " !CONFIG_FILES.includes(value) "
88+ v-else
7789 title =" Toggle Entry"
7890 p =" 0.5"
7991 mr =" 0.5"
@@ -90,7 +102,6 @@ function setEntry(name: string) {
90102 >
91103 <div title =" Toggle Entry" i-ph:house-line-duotone />
92104 </button >
93- <img v-else src =" /rolldown-bracketless.svg" h-3.5 title =" Config File" />
94105 </template >
95106 </Tabs >
96107 </div >
You can’t perform that action at this time.
0 commit comments