We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now you cannot use this package out of the box in a common place React app (e.g. Vite), due to the way SVGs are bundled.
We should make the distribution package simple build and ship actual components, rather than requiring a specialized loader that understands svg etc.
Current error:
✘ [ERROR] No loader is configured for ".svg" files: ../../node_modules/.pnpm/[email protected][email protected]/node_modules/platformicons/svg_80x80/tauri.svg ../../node_modules/.pnpm/[email protected][email protected]/node_modules/platformicons/esmbuild/preload.js:10:74: 10 │ ...map((icon) => require(`../${f === "lg" ? "svg_80x80" : "svg"}/${icon}.svg`))) ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
Add some basic runtime icons (#670)
83eaaa0
There's more work to do here, but currently I cannot simply load in PlatformIcon due to compatibility getsentry/platformicons#191 At the very least this will help with things like Next.js to grok if its server/client.  --------- Co-authored-by: Burak Yigit Kaya <[email protected]>
No branches or pull requests
Right now you cannot use this package out of the box in a common place React app (e.g. Vite), due to the way SVGs are bundled.
We should make the distribution package simple build and ship actual components, rather than requiring a specialized loader that understands svg etc.
Current error:
The text was updated successfully, but these errors were encountered: