Babel test config conflicts with nuxt defaults
A babel.config.js
file was added within !2371 (merged) and this appears to be interfering with or overriding the nuxt default babel settings. As a result, the following message gets repeated thousands of times when attempting to run the development server or compile a production build:
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. (repeated 301 times)
When running git reset --hard 9d87f8c582
(the commit before !2371 (merged)), this problem does not exist, so I'm fairly certain this is the cause.
This may possibly also be having an unintended effect on our browser compatibility on design.gitlab.com
since our usual babel config is being inadvertently subverted.
/cc @jeldergl since you noticed this console warning as well