Skip to content
New issue

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

svgs not rendering #1033

Open
1 task
monicaricks opened this issue May 13, 2024 · 4 comments
Open
1 task

svgs not rendering #1033

monicaricks opened this issue May 13, 2024 · 4 comments

Comments

@monicaricks
Copy link

monicaricks commented May 13, 2024

What version of million are you using?

3.0.6

Are you using an SSR adapter? If so, which one?

none

What package manager are you using?

pnpm

What operating system are you using?

Max

What browser are you using?

Chrome

Describe the Bug

svgs not rendering using auto mode on webpack project:
million.webpack({
auto: {},
}),

I'm getting this error in the console:

image

What's the expected result?

all svgs should render

Link to Minimal Reproducible Example

https://stackblitz.com/edit/webpack-5-react-starter-hx8bj9?file=src%2Fapp.tsx

Participation

  • I am willing to submit a pull request for this issue.
Copy link

Thanks for opening this issue! A maintainer will review it soon.

@monicaricks monicaricks changed the title svgs not loading svgs not rendering May 13, 2024
@monicaricks
Copy link
Author

@tobySolutions
Copy link
Contributor

Thank you for sharing this @monicaricks, really appreciate it. The team is however working on this at the moment and fixes will be available in the next release. I will take a look at your Stackblitz reproduction though

@monicaricks
Copy link
Author

Thanks! I look forward to the next release!! 👍

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

No branches or pull requests

2 participants