-
Notifications
You must be signed in to change notification settings - Fork 2
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
nullish coalescing is not supported in node v12 #4
Comments
Good catch. (I've just been spoiled by writing TS for the last year or so.) You're right, no need to break backwards compatibility. I'll get that fixed up. |
Fixed in 0353b69. Released as |
This line is also guilty: snowpack-plugin-vue2/compiler/index.js Line 50 in 80c3984
|
Ah, ok. that can also be handled pretty easily. Any others? |
fixed in ceddf83. Let me know if you find anything else, and if it works, I'll push out another release. |
I'm still stuck, though this one is coming straight from Snowpack.
I'm not sure about what is 'animated' - I did find a package 'animated' but that is for React Native. So yes, last of the type described in the issue.Thank you! |
published at |
Hey, thanks for your work!
I bumped into this line:
https://github.com/Morgul/snowpack-plugin-vue2/blob/80c39845a2f659e041f05a2a063b9f2a360db1fd/compiler/index.js
Ubuntu still ships v10 as default.
nodejs/node#33007 (comment)
Not a huge problem, but I belive you should not drop compatiblity for what seems to be a single line / syntax sugar.
This below is 100% the same.
Babel output with nodeV12:
There is likely a more elegant equivalent, but I would like to keep the plugin in-tact for everyone else.
The text was updated successfully, but these errors were encountered: