You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skipping imports and exports in the template provided to @svgr/core config result in empty output.
If I add either imports or exports to the template everything work as expected.
🐛 Bug Report
Skipping imports and exports in the template provided to
@svgr/core
config result in empty output.If I add either imports or exports to the template everything work as expected.
To Reproduce
Expected behavior
Expect result to contain jsx code.
Link to repl or repo (highly encouraged)
https://github.com/xcrzx/svgr-template-issue
Run
npx envinfo --system --binaries --npmPackages @svgr/core,@svgr/cli,@svgr/webpack,@svgr/rollup --markdown --clipboard
Paste the results here:
The text was updated successfully, but these errors were encountered: