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

Failed to minify the code from this file: ./node_modules/save-svg-as-png/saveSvgAsPng.js:3 #567

Closed
sulliwane opened this issue May 21, 2018 · 5 comments

Comments

@sulliwane
Copy link
Contributor

sulliwane commented May 21, 2018

Hello,

I'm using this package in my create-react-app, and when I run npm run build I get this error:

Failed to minify the code from this file: 
 	./node_modules/save-svg-as-png/saveSvgAsPng.js:3 
Read more here: http://bit.ly/2tRViJ9

Could you confirm this package is not ES5 compatible?
Thank you!

@scizers
Copy link

scizers commented May 22, 2018

+1
same issue here

@sulliwane
Copy link
Contributor Author

cross posted on the specific package page: exupero/saveSvgAsPng#171

@igorbpf
Copy link

igorbpf commented May 25, 2018

+1

@sulliwane
Copy link
Contributor Author

I opened a PR #571 that fixes this problem

@rrag
Copy link
Owner

rrag commented Jun 12, 2018

Thanks for the PR.

@rrag rrag closed this as completed Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants