Skip to content

Error when building #33

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

Closed
techniq opened this issue Sep 13, 2017 · 0 comments
Closed

Error when building #33

techniq opened this issue Sep 13, 2017 · 0 comments

Comments

@techniq
Copy link

techniq commented Sep 13, 2017

When trying to use this library within create-react-app and performing a yarn build, I'm getting the following error:
image

It looks to be caused by template literals here:
image
which are not being transpiled out. I was going to use the es6 src instead of dist but it's omitted from the npm package.

I see the build target is for node 4+ and not browser. Any chance of supporting a browser target or exposing the es6 for browser libraries. Btw, version 1.3.0 works fine and is what I'm currently using my react-svg-text component

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