Environment
|
|
| Operating system |
Linux 6.6.87.2-microsoft-standard-WSL2 |
| CPU |
11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 cores) |
| Node.js version |
v24.13.0 |
| nuxt/cli version |
3.37.0 |
| Package manager |
npm@11.6.2 |
| Nuxt version |
4.5.0 |
| Nitro version |
2.13.4 |
| Builder |
vite@8.1.5 |
| Config |
compatibilityDate, css, devServer, devtools, experimental, icon, imports, modules, runtimeConfig, site, ssr, vite |
| Modules |
@nuxt/ui@4.10.0, @pinia/nuxt@0.11.3, @nuxt/eslint@1.16.0, @nuxtjs/robots@6.1.2, @nuxt/icon@2.3.1, @nuxt/fonts@0.14.0 |
Is this bug related to Nuxt or Vue?
Nuxt
Package
v4.x
Version
v4.10.0
Reproduction
nuxt.config.ts
export default defineNuxtConfig({
...
icon: {
provider: "none",
collections: ["mdi"],
fallbackToApi: false,
clientBundle: {
scan: {
globInclude: ["**/app.config.ts", "**/toast.client.ts", "**/*.vue"],
},
},
},
...
})
app.config.ts
export default defineAppConfig({
ui: {
icons: {
arrowDown: "mdi-arrow-down",
arrowLeft: "mdi-arrow-left",
arrowRight: "mdi-arrow-right",
arrowUp: "mdi-arrow-up",
...
Description
After upgrading to Nuxt UI 4.10, I started getting warnings about unresolved lucide:* icons during the build process. I don't use Lucide anywhere in my project. All icons are overridden to use MDI in app.config.ts, and my @nuxt/icon configuration only includes the mdi collection. However I still have warnings with Lucide.
While investigating, I found this related change in #6635 that might be relevant:
Following the same decision as #6633, this does not add @iconify-json/lucide as a hard dependency. Icons are bundled only when their collection is installed; anything else falls back to runtime loading.
Additional context
No response
Logs
Environment
Linux 6.6.87.2-microsoft-standard-WSL211th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 cores)v24.13.03.37.0npm@11.6.24.5.02.13.4vite@8.1.5compatibilityDate,css,devServer,devtools,experimental,icon,imports,modules,runtimeConfig,site,ssr,vite@nuxt/ui@4.10.0,@pinia/nuxt@0.11.3,@nuxt/eslint@1.16.0,@nuxtjs/robots@6.1.2,@nuxt/icon@2.3.1,@nuxt/fonts@0.14.0Is this bug related to Nuxt or Vue?
Nuxt
Package
v4.x
Version
v4.10.0
Reproduction
nuxt.config.ts
app.config.ts
Description
After upgrading to Nuxt UI 4.10, I started getting warnings about unresolved
lucide:*icons during the build process. I don't use Lucide anywhere in my project. All icons are overridden to use MDI inapp.config.ts, and my@nuxt/iconconfiguration only includes themdicollection. However I still have warnings with Lucide.While investigating, I found this related change in #6635 that might be relevant:
Following the same decision as #6633, this does not add @iconify-json/lucide as a hard dependency. Icons are bundled only when their collection is installed; anything else falls back to runtime loading.
Additional context
No response
Logs