-
Notifications
You must be signed in to change notification settings - Fork 27
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
fix(babel-preset-mc-app): to add loose private methods #2203
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/commercetools/merchant-center-application-kit/4PidqBRUCW2iE3ZQdk1txUPi4UdH |
🦋 Changeset detectedLatest commit: a440704 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Thanks but unfortunately that does not fully work. Last time I tried to fix that, Cypress has problems: https://github.com/commercetools/merchant-center-application-kit/runs/2509665796 I haven't looked too much into it but apparently something else needs to be fixed/changed as well. |
For others and me to document: We use
So I don't see why Cypress chokes on this as both syntaxes should work. Will investigate further. Reference: https://babeljs.io/docs/en/babel-plugin-proposal-private-methods |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea!
Co-authored-by: Nicola Molinari <[email protected]>
Summary
We're receiving a lot of warnings internally when building with the recent babel update with about 40k lines of this on CI: