-
-
Notifications
You must be signed in to change notification settings - Fork 493
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
Babel 7.13 compiler assumptions #350
Comments
Hello, i also have issue with |
@DronDima I don't think the assumption is needed as of today, as the current Babel is 7.12 in CRA. This works for decorators:
|
OK, the new CRA 5.x actually ships Babel 7.16, so we'd need these assumptions. Has anyone managed to get this right? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale
…On 2022. May 1., Sun at 0:29, stale[bot] ***@***.***> wrote:
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
Reply to this email directly, view it on GitHub
<#350 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADYVD5RJ7UZPGW53CKA3LDVHWX4DANCNFSM5JTXV4MQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@hyperknot sorry for such a long delay. I've added this functionality and will release it in alpha 8. I haven't tested it, but if you'd like to ensure that it works for you as you expect once alpha 8 is out, that would be great! |
I've done the upgrade to test this. It seems to be working, at least I get a warning message if I add assumptions. There are other errors with [email protected] which I won't start debugging, but the CRACO part seems to be working. |
Thanks @hyperknot. If the craco part seems to be working, I'll close this issue. Feel free to leave a comment if there are any problems. |
Hi, will it be possible to use the Babel 7.13 compiler assumptions with an
assumptions
key?https://babeljs.io/docs/en/assumptions
For example MobX docs say the following:
It'd be nice to use this syntax in CRACO.
The text was updated successfully, but these errors were encountered: