Force icons to be local
All checks were successful
Build and deploy updated apps / Build & deploy (push) Successful in 1m50s

This commit is contained in:
Dominik Milacher 2025-10-22 20:18:19 +02:00
parent f3c3b8c239
commit e32a72868b
3 changed files with 73 additions and 2 deletions

View File

@ -27,7 +27,42 @@ export default defineNuxtConfig({
}
},
icon: {
provider: 'server',
serverBundle: 'local'
provider: 'none',
fallbackToApi: false,
clientBundle: {
scan: true,
includeCustomCollections: true,
icons: [
'uil:whatsapp',
'lucide:heart-handshake',
'lucide:heater',
'lucide:wifi',
'lucide:car-front',
'lucide:lock',
'lucide:flame-kindling',
'lucide:mountain',
'lucide:cable-car',
'lucide:id-card-lanyard',
'lucide:bed',
'lucide:trees',
'lucide:store',
'lucide:snowflake',
'lucide:bike',
'lucide:coins',
'lucide:users',
'lucide:scaling',
'lucide:bed-double',
'lucide:sofa',
'lucide:shower-head',
'lucide:toilet',
'lucide:tv',
'lucide:microwave',
'lucide:bubbles',
'lucide:coffee',
'lucide:layers',
'lucide:wind',
'lucide:sun'
]
}
}
})

View File

@ -21,5 +21,10 @@
"valibot": "^1.1.0",
"vue": "^3.5.22",
"vue-router": "^4.5.1"
},
"devDependencies": {
"@iconify-json/heroicons": "^1.2.3",
"@iconify-json/lucide": "^1.2.70",
"@iconify-json/uil": "^1.2.3"
}
}

31
pnpm-lock.yaml generated
View File

@ -53,6 +53,16 @@ importers:
vue-router:
specifier: ^4.5.1
version: 4.5.1(vue@3.5.22(typescript@5.9.2))
devDependencies:
'@iconify-json/heroicons':
specifier: ^1.2.3
version: 1.2.3
'@iconify-json/lucide':
specifier: ^1.2.70
version: 1.2.70
'@iconify-json/uil':
specifier: ^1.2.3
version: 1.2.3
packages/layers/content:
dependencies:
@ -689,6 +699,15 @@ packages:
resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==}
engines: {node: '>=18.18'}
'@iconify-json/heroicons@1.2.3':
resolution: {integrity: sha512-n+vmCEgTesRsOpp5AB5ILB6srsgsYK+bieoQBNlafvoEhjVXLq8nIGN4B0v/s4DUfa0dOrjwE/cKJgIKdJXOEg==}
'@iconify-json/lucide@1.2.70':
resolution: {integrity: sha512-56s9NdBKgshywVY1e4gOcxzAbU1J649e/jLHBJU1tyNqRs7mFLVEGwj2mmzHJ5YAZB5Tsngi4f/ocTBPlG06ZA==}
'@iconify-json/uil@1.2.3':
resolution: {integrity: sha512-if91+UBhDQc6glPsIaXecGIcXnbQZfEO4Gdv89TV2xQ+V5e9GWbY5rNl2fsKZd8COsRQ5lRQAKimVQVL0CZZVg==}
'@iconify/collections@1.0.602':
resolution: {integrity: sha512-bpHY7qw+a5QbYlsyROx3Ar2jb8hMMvUOrp99a+pQTHDM+pAVR76WMYriRdW0mKcDo9L3uoU5u0uI9LY+jfbkOQ==}
@ -5472,6 +5491,18 @@ snapshots:
'@humanwhocodes/retry@0.4.3': {}
'@iconify-json/heroicons@1.2.3':
dependencies:
'@iconify/types': 2.0.0
'@iconify-json/lucide@1.2.70':
dependencies:
'@iconify/types': 2.0.0
'@iconify-json/uil@1.2.3':
dependencies:
'@iconify/types': 2.0.0
'@iconify/collections@1.0.602':
dependencies:
'@iconify/types': 2.0.0