Skip to content
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

When updating to latest, getting babel errors around loose mode #9237

Closed
kgrosvenor opened this issue May 4, 2021 · 1 comment
Closed

When updating to latest, getting babel errors around loose mode #9237

kgrosvenor opened this issue May 4, 2021 · 1 comment

Comments

@kgrosvenor
Copy link

Hey im pretty sure this is a bug as there is not other configuration around babel in my project, what do i need to do to work around this?

Attached link to picture of my cli

https://gyazo.com/e7776963ef25fb1465adac440e2a8438

`

@kgrosvenor kgrosvenor changed the title When updating to latest, gettting babel errors around loose mode When updating to latest, getting babel errors around loose mode May 4, 2021
@rlam3
Copy link

rlam3 commented May 4, 2021

Same here. Updating to latest nuxt-edge spams the following comment

 WARN  Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-proposal-private-methods since the "loose" mode option was set to "true" for @babel/plugin-proposal-class-properties.
The "loose" option must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
	["@babel/plugin-proposal-private-methods", { "loose": true }]
to the "plugins" section of your Babel config.

#9224

This is a dupliate issue @kgrosvenor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants