Skip to content

free-icons lib has react deps? #1

@KrisHedges

Description

@KrisHedges

After installing the packages as described in the docs I see this error when trying to build... Is there a more pinned down version of the free-icons lib that claims to be dependency free... even after doing as the error message suggests in my vite config it persists....

✘ [ERROR] Could not resolve "react/jsx-runtime"

node_modules/@lineiconshq/vue-lineicons/node_modules/@lineiconshq/free-icons/dist/index.esm.js:1:30:
  1 │ import{jsx as C,jsxs as o}from"react/jsx-runtime";const l=({size:o=24,color:l="currentColor",...e})=>C(...
    ╵                               ~~~~~~~~~~~~~~~~~~~

You can mark the path "react/jsx-runtime" as external to exclude it from the bundle, which will
remove this error and leave the unresolved path in the bundle.

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