Bundle vscode-icons file-type icons and map bashrc and credentials
This commit is contained in:
1 parent
881831239f
commit
9e328f859d
2 files changed
+16
No files matched your search
@@ -65,6 +65,12 @@ export default defineAppConfig({
|
||||
'ini': 'i-lucide-settings',
|
||||
'conf': 'i-lucide-settings',
|
||||
'service': 'i-lucide-settings',
|
||||
// vscode-icons has no bashrc/credentials file-type icon, so the
|
||||
// default lookup failed at build time.
|
||||
'bashrc': 'i-vscode-icons-file-type-shell',
|
||||
'.bashrc': 'i-vscode-icons-file-type-shell',
|
||||
'credentials': 'i-lucide-settings',
|
||||
'.credentials': 'i-lucide-settings',
|
||||
// Used as ::code-group tab labels when a command differs per OS.
|
||||
'macos': 'i-simple-icons-apple',
|
||||
'linux': 'i-simple-icons-linux',
|
||||
|
||||
@@ -251,6 +251,16 @@ export default defineNuxtConfig({
|
||||
'simple-icons:apple',
|
||||
'simple-icons:linux',
|
||||
'simple-icons:windows',
|
||||
// vscode-icons file-type icons Docus resolves from code block
|
||||
// filenames (e.g. ```yaml [compose.yaml]). Resolved dynamically, so
|
||||
// the scanners can't see them, and the prerender-time lookup timed
|
||||
// out under load (1500ms) for every one of them.
|
||||
'vscode-icons:file-type-yaml',
|
||||
'vscode-icons:file-type-dotenv',
|
||||
'vscode-icons:file-type-php',
|
||||
'vscode-icons:file-type-toml',
|
||||
'vscode-icons:file-type-sqlite',
|
||||
'vscode-icons:file-type-shell',
|
||||
...contentIcons.icons,
|
||||
])],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user