-
Notifications
You must be signed in to change notification settings - Fork 13
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
Please run Babel or similar for dist #4
Comments
Yeah those backticks wasted a couple of hours of my life. edit - this library also probably saved me a bunch of time too, so it's a wash. Thanks for your contributions. |
OK I'll setup Babel when I get time. I didn't anticipate people would want to use this on frontend, my bad! |
I just spent an hour of my life trying to track down an IE11 error: Was related to the backticks in this library |
Yep just hit this issue myself when running production code through Uglify: |
@saikojosh any update on this? I saw a PR opened on July, can we have it merged and released? |
I've converted the module to single quotes now so should work fine. When I have more time I will look at the Babel PR. |
Which version of this module are you using? I removed backticks from the latest version.
Regards,
-Josh Cole.
Sent from my iPhone.
… On 14 Apr 2018, at 16:55, thelastfantasy ***@***.***> wrote:
Same problem, my project created with create-react-app got err, any idea to solve this problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
0.4.0, I downloaded it with npm. I ran babel CLI to output an es5 version and it's ok now. |
Chiming in here - integrating Please consider transpiling 😄 |
@shockey Node 4 went end-of-life a month ago. I plan to merge in one of the PRs but I don't have time to do a full review right now. It's not a priority seeing as Node 4 is no longer supported. |
my project is webpack4+vue create by vue-cli 3.0 I have no way😭 |
@mkanako my fork may solve your issue, it’s the same aside from the fact that it ships already transpiled through Babel: https://www.npmjs.com/package/@kyleshockey/object-assign-deep |
@shockey thank you very much!! |
First, thanks for this useful library 😃. Minor suggestion - please consider running the source through Babel or similar before publishing such that the distributable code is all ES5. This will eliminate js compatibility issues when bundling and minifying this package (ran into an issue recently with backticks in this package). Thanks!
The text was updated successfully, but these errors were encountered: