Skip to content

Unable to handle @lucide/svelte in pnpm workspace catalog mode #670

@JetLua

Description

@JetLua

Describe the bug
This is a strange issue that only occurs with pnpm workspace catalog.

Logs
ReferenceError: Icon is not defined

To Reproduce
https://github.com/JetLua/test

  1. cd kit && pnpm i
  2. pnpm dev
  3. open: https://localhost:5173

Expected behavior
Working normally

Additional

  • Not workspace catalog mode ✅
  • Use vitePreprocess instead of sveltePreprocess

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions