I have a fresh install of nuxt version 2.14.6 and I would like to silence an error I get when I run the nuxt command:
WARN Though the "loose" option was set to "false" in your @babel/preset-env co
The "loose" option must be the same for @babel/plugin-proposal-class-properties,
["@babel/plugin-proposal-private-methods", { "loose": true }]
to the "plugins" section of your Babel config.
I'm assuming I need to override the babel config in my nuxt.config.js file, but I haven't found any helpful solutions.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…