Skip to content

Conversation

@philmillman
Copy link

local icons were broken for me, I'm assuming this because the Vite version in my repo is newer (7.x)

tested with the demo and all seems to work fine!

@vercel
Copy link

vercel bot commented Nov 19, 2025

@philmillman is attempting to deploy a commit to the manuelmeister's projects Team on Vercel.

A member of the Team first needs to authorize it.


try {
const files = import.meta.globEager("/src/icons/**/*.svg", { as: "raw" });
const files = import.meta.glob("/src/icons/**/*.svg", { query: "?raw", import: "default", eager: true });
Copy link
Author

@philmillman philmillman Nov 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the query part might be unnecessary but I was trying to keep it as close to the original as possible

@philmillman
Copy link
Author

sample error before the fix:

image

@philmillman
Copy link
Author

cc: @manuelmeister ^^

@manuelmeister
Copy link
Owner

@philmillman sorry, I'm not sure how I want to continue with this package. It depends how I'm going to update ecamp/ecamp-site

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.

2 participants