Skip to content

Blocks import each icon from its own path - #325

Merged
silveltman merged 3 commits into
mainfrom
blocks-lucide-icon-paths
Oct 24, 2026
Merged

silveltman merged 3 commits into
mainfrom
blocks-lucide-icon-paths

Conversation

@silveltman

@silveltman silveltman commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator
  • 12 blocks (content-1, -2, -4, cta-5, hero-4 to -7, hero-9, pricing-1 to -3) imported CheckIcon from @lucide/astro. In a site's dev server that loads all 1,892 icon modules on the first page: about 32 seconds in a 1-vCPU Vercel Sandbox, 6 with @lucide/astro/icons/check, as the other components already import.
  • ESLint now refuses the package's index, with the reason.
  • public/r rebuilt; only these 12 blocks changed in each style.

After release, sites update the blocks with scripts/update-site.mjs; astro-template first.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

The 12 blocks that imported CheckIcon from @lucide/astro made a site's
dev server load all 1,892 icons on the first page: about 32 seconds in a
1-vCPU sandbox, 6 with the icon's own path. ESLint now refuses the
package's index.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for fulldev-ui ready!

Name Link
🔨 Latest commit c317dba
🔍 Latest deploy log https://app.netlify.com/projects/fulldev-ui/deploys/6adc07e374ae43c1bbc8d6dd
😎 Deploy Preview https://deploy-preview-325--fulldev-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@silveltman
silveltman marked this pull request as ready for review October 24, 2026 01:20
@silveltman
silveltman marked this pull request as draft October 24, 2026 01:53
@silveltman
silveltman marked this pull request as ready for review October 24, 2026 01:53
@silveltman
silveltman merged commit 57e3ff2 into main Oct 24, 2026
9 of 11 checks passed
@silveltman
silveltman deleted the blocks-lucide-icon-paths branch October 24, 2026 01:58
@fulldev-release fulldev-release Bot mentioned this pull request Oct 24, 2026
silveltman pushed a commit that referenced this pull request Oct 24, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## fulldev-ui@0.25.5

### Patch Changes

- [#325](#325)
[`57e3ff2`](57e3ff2)
Thanks [@silveltman](https://github.com/silveltman)! - Import each icon
in the Content, CTA, Hero and Pricing blocks from its own path, so a
page loads only the icons it uses instead of all of Lucide.

- [#323](#323)
[`cec3667`](cec3667)
Thanks [@silveltman](https://github.com/silveltman)! - Serve AVIF images
with WebP fallbacks in Hero1, Article1 and Articles1, preserving
responsive sizes and image priority.

Co-authored-by: fulldev-release[bot] <336258566+fulldev-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant