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
Current Behavior
As the documentation describes, the @babel/plugin-proposal-decorators can be configured through the parameters: decoratorsBeforeExport and legacy.
Somehow the combination of decoratorsBeforeExport: true & legacy: true throws an error.
Hey @mspoerer! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.
The documentation is wrong because it doesn't have a default value. It can only be used if you are using legacy: false (so it can never be used until we support legacy: false).
This is a duplicate of #8562. Do you want to update the docs?
Bug Report
Current Behavior
As the documentation describes, the @babel/plugin-proposal-decorators can be configured through the parameters: decoratorsBeforeExport and legacy.
Somehow the combination of decoratorsBeforeExport: true & legacy: true throws an error.
Line of Code:
babel/packages/babel-plugin-proposal-decorators/src/index.js
Line 25 in eac4c5b
The text was updated successfully, but these errors were encountered: