Fix lucide icon build-time timeouts - #5563
Open
ZJvandeWeg wants to merge 2 commits into
Open
Conversation
@nuxt/icon only bundles heroicons for offline resolution, so every i-lucide-* icon (used throughout handbook nav and CTAs) fell back to fetching from the Iconify API during nuxt generate, timing out repeatedly per page. Adding @iconify-json/lucide as a direct dev dependency lets the icon module resolve them from disk instead.
✅ Deploy Preview for flowforge-website ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
@nuxt/icononly bundled@iconify-json/heroiconslocally, so everyi-lucide-*icon (handbook nav, CTA buttons, etc.) fell back to fetching from the Iconify API duringnuxt generate, timing out repeatedly per page (see build logs withloading icon lucide:... timed out after 1500ms)@iconify-json/lucideas a direct dev dependency so the icon module resolves lucide icons from disk instead of the networkTest plan
nuxt generatelocally — the flood oflucide:* timed outwarnings is gone (only one unrelated pre-existinglucide:triangle-alerttimeout remains, sourced from@nuxt/ui's own internal default config)