Answers for "nuxt it will not be used for @babel/plugin-proposal-private-property-in-object since the "loose""

1

nuxt it will not be used for @babel/plugin-proposal-private-property-in-object since the "loose"

// Open the nuxt.config.js file that you just created. Edit the file
// with the following:

export default {
  build: {
    babel: {
      "presets": [
        [
          "@babel/preset-env",
          {
            targets: {
              esmodules: true
            },
            "loose": true,
            "shippedProposals": true
          }
        ]
      ]
    },
  }
}
Posted by: Guest on August-07-2021

Code answers related to "nuxt it will not be used for @babel/plugin-proposal-private-property-in-object since the "loose""

Code answers related to "Javascript"

Browse Popular Code Answers by Language