diff --git a/nuxt.config.ts b/nuxt.config.ts index 3e4afb1..753f663 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -26,12 +26,9 @@ export default defineNuxtConfig({ dir: "./public/icon", }, ], - serverBundle: { - remote: (name: string) => - `https://gcore.jsdelivr.net/npm/@iconify-json/${name}/icons.json`, - externalizeIconsJson: true, - }, + serverBundle: false, clientBundle: { + icons: ["proicons:terminal", "line-md:download-loop"], scan: { globInclude: ["pages/*.vue", "app.vue"], globExclude: ["node_modules", "dist"], diff --git a/package.json b/package.json index db30ff7..2bcfcb9 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,6 @@ "vue-router": "^4.5.1" }, "devDependencies": { - "@iconify-json/proicons": "^1.2.16", - "@iconify-json/simple-icons": "^1.2.37", "@primevue/nuxt-module": "^4.3.5", "sass": "^1.89.1", "typescript": "^5.8.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5e7908e..432997c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,12 +54,6 @@ importers: specifier: ^4.5.1 version: 4.5.1(vue@3.5.16(typescript@5.8.3)) devDependencies: - '@iconify-json/proicons': - specifier: ^1.2.16 - version: 1.2.16 - '@iconify-json/simple-icons': - specifier: ^1.2.37 - version: 1.2.37 '@primevue/nuxt-module': specifier: ^4.3.5 version: 4.3.5(@babel/parser@7.27.4)(magicast@0.3.5)(vue@3.5.16(typescript@5.8.3)) @@ -717,12 +711,6 @@ packages: resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} engines: {node: '>=18.18'} - '@iconify-json/proicons@1.2.16': - resolution: {integrity: sha512-WzcdNidbPLA3iN7/NfM9vqc7ycE8wW2+d+kVf7CtkVERhs6EcUF8NKwnW8vuuT/oZnenE5rT1ZrNDzt5TJZ2Mw==} - - '@iconify-json/simple-icons@1.2.37': - resolution: {integrity: sha512-jZwTBznpYVDYKWyAuRpepPpCiHScVrX6f8WRX8ReX6pdii99LYVHwJywKcH2excWQrWmBomC9nkxGlEKzXZ/wQ==} - '@iconify/collections@1.0.555': resolution: {integrity: sha512-lI82hhzkE4la6zjy/t4hbd6pQtl5HjASxsm+Rzcy6P9B9/2pk1FtnWzjDAaSfdHnc2wCsmZZzZW9jSz2LvtlrQ==} @@ -5795,14 +5783,6 @@ snapshots: '@humanwhocodes/retry@0.4.3': {} - '@iconify-json/proicons@1.2.16': - dependencies: - '@iconify/types': 2.0.0 - - '@iconify-json/simple-icons@1.2.37': - dependencies: - '@iconify/types': 2.0.0 - '@iconify/collections@1.0.555': dependencies: '@iconify/types': 2.0.0