gregberge / svgr

Transform SVGs into React components 🦁
https://react-svgr.com
MIT License
10.59k stars 422 forks source link

Website is broken #847

Closed proevilz closed 1 year ago

proevilz commented 1 year ago

🐛 Bug Report

A clear and concise description of what the bug is.

Live playground doesn't work anymore

To Reproduce

Go to https://react-svgr.com/playground/ and you can see that the JSX isn't output anymore

Expected behavior

JSX to be generated

Link to repl or repo (highly encouraged)

Please provide a minimal repository on GitHub.

Issues without a reproduction link are likely to stall.

Run npx envinfo --system --binaries --npmPackages @svgr/core,@svgr/cli,@svgr/webpack,@svgr/rollup --markdown --clipboard

Paste the results here:

N/A
BrodaNoel commented 1 year ago

Yeah. I'm seeing the same thing. Since ~2 days ago, https://react-svgr.com/playground/?native=true is not working anymore

TomasSestak commented 1 year ago

Can confirm - doesnt work chrome either safari

computerjazz commented 1 year ago

~until this is fixed --- wayback machine to the rescue! https://web.archive.org/web/20230307233138/https://react-svgr.com/playground/~ nvm, it loads but doesn't actually work :/

hugoh59 commented 1 year ago

Same issue today

thalmann-christof commented 1 year ago

can confirm! the same issue, does not work on chrome, safari or firefox

thalmann-christof commented 1 year ago

In the meantime, until this is fixed (PR), you can use SVGR's CLI. It will give you the exact same results.

npm install -g @svgr/cli
svgr --native --typescript yourInputFile.svg --out-dir output-folder

As far as I have checked, it covers all options. I just needed --native and --typescript for my case.

SebastianNarvaez11 commented 1 year ago

Same issue today

Hostname47 commented 1 year ago

It doesn't work in any browser, but it works here in Microsoft Edge browser

alexincore commented 8 months ago

Same thing today (again). This time even the home page doesn't render.