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

Module parse failed: Unexpected character '​' #124

Open
olivier-lacroix opened this issue May 9, 2020 · 2 comments
Open

Module parse failed: Unexpected character '​' #124

olivier-lacroix opened this issue May 9, 2020 · 2 comments

Comments

@olivier-lacroix
Copy link

Hi there,

I am facing some parsing issues with some quite simple SVGs (via gatsby-plugin-react-svg), with the following warning;

warn Module parse failed: Unexpected character '​' (3:25)

Example problematic SVG attached

EnergyEfficiency​.inline.svg.zip

Any idea what the problem is?

@olivier-lacroix
Copy link
Author

webpack: 4.42.1
svg-react-loader: 0.4.6

@olivier-lacroix
Copy link
Author

It appears changing the filename solves the problem. Any idea why some file names yield a failure?

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

1 participant