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
When trying to use this library within create-react-app and performing a yarn build, I'm getting the following error:
It looks to be caused by template literals here:
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
The text was updated successfully, but these errors were encountered:
Semigradsky
added a commit
to Semigradsky/reduce-css-calc
that referenced
this issue
Oct 10, 2017
When trying to use this library within create-react-app and performing a

yarn build
, I'm getting the following error:It looks to be caused by template literals here:

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 componentThe text was updated successfully, but these errors were encountered: