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
It's not the best solution, but it works. We managed to resolved it in this fashion with a different package.... I probably could have made your solution work as well but we had other repos using this already so stuck with what our team already knew.
I currently have a project that has globalCSS in npm components and this workaround is what I'm attempting to use.
Unfortunately, I also use the next-images package for important images of all file types (including SVGs).
No matter what, running next-global-css attempts to also parse SVG files and always errors with:
error - SyntaxError: Unexpected token '<'
Is there a way to exclude SVG files easily from next-global-css, or make it skip them entirely by default?
The text was updated successfully, but these errors were encountered: