` elements in my components. Additionally, I am encountering numerous deprecation warnings related to `@iconify`.\r\n\r\nIt appears that `@nuxt/icon` is downloading all icon collections instead of only the icons being used, leading to the substantial increase in build size.\r\n\r\n\r\n\r\n**Before adding `@nuxt/icon`**\r\n\r\n\r\n\r\n**After adding `@nuxt/icon`, `@iconify-json/heroicons` and `@iconify-json/tabler`**\r\n\r\n\r\n\r\nThe build size should not increase significantly, especially when no `\u003CIcon />` elements are used.\r\n\r\nIf relevant, here are the versions I am using:\r\n```\r\nNuxt Version: 3.12.3\r\n@nuxt/icon Version: ^1.0.0\r\n@iconify-json/heroicons: ^1.1.21\r\n@iconify-json/tabler: ^1.1.116\r\nNode.js Version: v20.13.1\r\n```\r\n\r\nA ton of deprecation warnings like these\r\n`\r\n(node:23176) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving \".//index.cjs\" for module request \".//index.cjs\" matched to \"./*\" in the \"exports\" field module resolution of the package at ...\\node_modules\\@iconify\\vue\\package.json imported from ...\\node_modules\\nuxt-og-image\\dist\\node_modules\\_index.js.\r\n`\r\n\r\n\r\nThank you in advance for your help in fixing this issue! :)",[],188,"closed","Significant Build Size Increase with @nuxt/icon and Deprecation Warnings from @iconify","2024-07-18T22:45:11Z","https://github.com/nuxt/icon/issues/188",0.7027292,{"description":2901,"labels":2902,"number":2903,"owner":2866,"repository":2867,"state":2895,"title":2904,"updated_at":2905,"url":2906,"score":2907},"```vue\r\n\u003CIcon name=\"uil:github\" v-if=\"true\" />\r\n\u003Ctemplate v-if=\"true\">\r\n \u003CIcon name=\"uil:github\" />\r\n\u003C/template>\r\n```\r\nwhen use `Icon` with v-if, the whole icon become tiny samll.\r\n\r\n\r\n",[],81,"size not effective when use v-if","2023-06-06T14:45:00Z","https://github.com/nuxt/icon/issues/81",0.7393196,{"description":2909,"labels":2910,"number":217,"owner":2866,"repository":2917,"state":2895,"title":2918,"updated_at":2919,"url":2920,"score":2921},"Is it possible to specify the priority of downloading files by their extension (woff 2, woff, tff)? Now, if a folder contains both ttf and woff2 at the same time, then the module loads tff. Or do I only need to store fonts in woff2 format?\r\n\r\n\r\n\r\n",[2911,2914],{"name":2912,"color":2913},"bug","d73a4a",{"name":2915,"color":2916},"needs reproduction","C94E53","fonts","Allow downloading priority by extensions","2024-09-23T12:02:52Z","https://github.com/nuxt/fonts/issues/135",0.7514579,{"description":2923,"labels":2924,"number":2925,"owner":2866,"repository":2926,"state":2895,"title":2927,"updated_at":2928,"url":2929,"score":2930},"# Environment\r\n- Operating System: `MacOS`\r\n- Node Version: `v21.6.2`\r\n- Nuxt Version: `3.12.3`\r\n- Nitro Version: `2.9.7`\r\n\r\n```ts\r\nimport { defineNuxtConfig } from 'nuxt/config';\r\n\r\nexport default defineNuxtConfig({\r\n$production: {\r\n scripts: {\r\n registry: {\r\n googleTagManager: {\r\n token: 'GTM-MYCUSTOMID,\r\n },\r\n },\r\n },\r\n },\r\n})\r\n```\r\n\r\n### current result:\r\n> https://www.googletagmanager.com/gtm.js\r\n\r\n\r\n### expected result:\r\n> https://www.googletagmanager.com/gtm.js?id=GTM-MYCUSTOMID\r\n\r\n\u003Chr>\r\n\r\n## Solution\r\n\r\n### Using `id` instead `token`\r\n\r\n```ts\r\nimport { defineNuxtConfig } from 'nuxt/config';\r\n\r\nexport default defineNuxtConfig({\r\n$production: {\r\n scripts: {\r\n registry: {\r\n googleTagManager: {\r\n id: 'GTM-MYCUSTOMID,\r\n },\r\n },\r\n },\r\n },\r\n})\r\n```\r\n\r\n### final result:\r\n> https://www.googletagmanager.com/gtm.js?id=GTM-MYCUSTOMID\r\n",[],143,"scripts","googleTagManager `$production` token configuration is broken","2024-07-16T13:40:44Z","https://github.com/nuxt/scripts/issues/143",0.75620586,{"description":2932,"labels":2933,"number":2938,"owner":2866,"repository":2926,"state":2895,"title":2939,"updated_at":2940,"url":2941,"score":2942},"Upgrading to v6.0.2 I get the following errors in the Nuxt Turnstile module:\r\n\r\n```\r\n.nuxt/nuxt-scripts/tpc/google-tag-manager.ts(13,17): error TS2742: The inferred type of 'useScriptGoogleTagManager' cannot be named without a reference to '.pnpm/@unhead+vue@1.9.15_vue@3.4.31_typescript@5.5.3_/node_modules/@unhead/vue'. This is likely not portable. A type annotation is necessary.\r\n.nuxt/nuxt-scripts/tpc/google-tag-manager.ts(6,7): error TS2742: The inferred type of 'OptionSchema' cannot be named without a reference to '.pnpm/valibot@0.36.0/node_modules/valibot'. This is likely not portable. A type annotation is necessary.\r\n.nuxt/nuxt-scripts/tpc/google-tag-manager.ts(6,7): error TS2742: The inferred type of 'OptionSchema' cannot be named without a reference to '.pnpm/valibot@0.36.0/node_modules/valibot'. This is likely not portable. A type annotation is necessary.\r\n.nuxt/nuxt-scripts/tpc/google-analytics.ts(13,17): error TS2742: The inferred type of 'useScriptGoogleAnalytics' cannot be named without a reference to '.pnpm/@unhead+vue@1.9.15_vue@3.4.31_typescript@5.5.3_/node_modules/@unhead/vue'. This is likely not portable. A type annotation is necessary.\r\n.nuxt/nuxt-scripts/tpc/google-analytics.ts(6,7): error TS2742: The inferred type of 'OptionSchema' cannot be named without a reference to '.pnpm/valibot@0.36.0/node_modules/valibot'. This is likely not portable. A type annotation is necessary.\r\n.nuxt/nuxt-scripts/tpc/google-analytics.ts(6,7): error TS2742: The inferred type of 'OptionSchema' cannot be named without a reference to '.pnpm/valibot@0.36.0/node_modules/valibot'. This is likely not portable. A type annotation is necessary.\r\n```\r\n\r\nhttps://github.com/nuxt-modules/turnstile/actions/runs/9820960416/job/27116095724?pr=321#step:14:24",[2934,2935],{"name":2912,"color":2913},{"name":2936,"color":2937},"pre-announce","c2e0c6",133,"fix(tpc): a type annotation is necessary","2024-07-15T18:18:26Z","https://github.com/nuxt/scripts/issues/133",0.77816975,{"description":2944,"labels":2945,"number":2946,"owner":2866,"repository":2867,"state":2895,"title":2947,"updated_at":2948,"url":2949,"score":2950},"I got the exception when i use the @nuxt/icon and nuxt-icon 1.0.0-beta.7, I just try both version. And I got the same error.\r\n\r\nhere is the dependencies\r\n\"dependencies\": {\r\n \"big.js\": \"^6.2.1\",\r\n \"nuxt\": \"^3.12.3\",\r\n \"nuxt-icon\": \"1.0.0-beta.7\",\r\n \"qrcode-vue3\": \"^1.6.8\",\r\n \"vue\": \"latest\"\r\n },\r\n \"devDependencies\": {\r\n \"@formkit/auto-animate\": \"^0.8.2\",\r\n \"@nuxtjs/tailwindcss\": \"^6.12.0\",\r\n \"@pinia-plugin-persistedstate/nuxt\": \"^1.2.1\",\r\n \"@pinia/nuxt\": \"^0.5.1\",\r\n \"@vueuse/nuxt\": \"^10.11.0\"\r\n }\r\n\r\nCannot read properties of undefined (reading 'startsWith')\r\n\r\nat ReactiveEffect.fn (./node_modules/.pnpm/@vue+reactivity@3.4.31/node_modules/@vue/reactivity/dist/reactivity.cjs.js:994:13)\r\nat ReactiveEffect.run (./node_modules/.pnpm/@vue+reactivity@3.4.31/node_modules/@vue/reactivity/dist/reactivity.cjs.js:172:19)\r\nat get value [as value] (./node_modules/.pnpm/@vue+reactivity@3.4.31/node_modules/@vue/reactivity/dist/reactivity.cjs.js:1006:109)\r\nat ./node_modules/.pnpm/nuxt-icon@1.0.0-beta.7_magicast@0.3.4_rollup@4.18.0_vite@5.3.3_@types+node@20.14.10_terser@5.31.1__vue@3.4.31/node_modules/nuxt-icon/dist/runtime/components/index.js:36:44\r\nat ReactiveEffect.fn (./node_modules/.pnpm/@vue+reactivity@3.4.31/node_modules/@vue/reactivity/dist/reactivity.cjs.js:994:13)\r\nat ReactiveEffect.run (./node_modules/.pnpm/@vue+reactivity@3.4.31/node_modules/@vue/reactivity/dist/reactivity.cjs.js:172:19)\r\nat get value [as value] (./node_modules/.pnpm/@vue+reactivity@3.4.31/node_modules/@vue/reactivity/dist/reactivity.cjs.js:1006:109)\r\nat Proxy. (./node_modules/.pnpm/nuxt-icon@1.0.0-beta.7_magicast@0.3.4_rollup@4.18.0_vite@5.3.3_@types+node@20.14.10_terser@5.31.1__vue@3.4.31/node_modules/nuxt-icon/dist/runtime/components/index.js:43:17)\r\nat renderComponentRoot (./node_modules/.pnpm/@vue+runtime-core@3.4.31/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:886:16)",[],190,"Cannot read properties of undefined (reading 'startsWith')","2024-07-15T16:02:09Z","https://github.com/nuxt/icon/issues/190",0.7808623,{"description":2952,"labels":2953,"number":2955,"owner":2866,"repository":2926,"state":2895,"title":2956,"updated_at":2957,"url":2958,"score":2959},"### 🐛 The bug\n\nAfter updating to the latest version of @nuxt/scripts (v0.10.3), the embedded YouTube player is no longer visible.\n\n### 🛠️ To reproduce\n\nhttps://scripts.nuxt.com/scripts/content/youtube-player\n\n### 🌈 Expected behavior\n\n.\n\n### ℹ️ Additional context\n\n_No response_",[2954],{"name":2912,"color":2913},393,"YouTube player is invisible with the latest version","2025-02-18T21:56:53Z","https://github.com/nuxt/scripts/issues/393",0.7858598,{"labels":2961,"number":2968,"owner":2866,"repository":2866,"state":2895,"title":2969,"updated_at":2970,"url":2971,"score":2972},[2962,2965],{"name":2963,"color":2964},"3.x","29bc7f",{"name":2966,"color":2967},"cli","09F665",12015,"Replace degit with tiged","2023-01-19T16:08:27Z","https://github.com/nuxt/nuxt/issues/12015",0.7908438,["Reactive",2974],{},["Set"],["ShallowReactive",2977],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f5UQGg1fXmN-jyJ_UyZGcsiaZyawKxXc7LMvNgLMV4Qs":-1},"/nuxt/icon/34"]