-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
7.26.7: Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform. #425
Comments
what's interesting to me here is that the seems to be applied after the class. initializeWarningHelper is def a part of that first assignment at the top of the class |
Seems to be that cliBabelInstance.isPluginRequired(
"proposal-class-properties"
), is returning false for my environment -- which is correct, but, why are the decorators flaking out? 🤔 |
embroider is using So maybe the decorators plugin is losing track of my targets, perhaps? |
FWIW, the same thing is happening in fractal-page-object |
This is exposed by #420, and in fact reflects what the original code that #420 tweaked was designed to address. It should be handled by |
I just tried pinning to the latest versions of |
See #426 – will be updating status there. @NullVoxPopuli do you mind closing this in favor of #423 so we can centralize discussion there? Thanks. |
I am having a hard time reproducing this issue tho. 🤔 super weird. |
you bet! 🎉 |
I have a reproduction now -- posted here, in a less busy, still open issue: #447 (comment) I also found that some files (post-minification) can be up to 70% smaller when class properties are not transpiled / polyfilled away... so.. I'm very eager to figure this out 🙃 |
Just got this in an OSS project (which I'm not sharing the link to, cause I have a toooon in flux 😅 ).
but anyway, just tracking the error here for discussion. if I come to a resolution, I'll post about it.
What's interesting about this error is that it's a runtime error. The build succeeded.
Using embroider:
The text was updated successfully, but these errors were encountered: