// var plugins = [];
// if (['production', 'prod'].includes(process.env.NODE_ENV)) {
// plugins.push("transform-remove-console")
// }
module.exports = {
  presets: [
    // '@vue/cli-plugin-babel/preset',
    [
      // '@vue/cli-plugin-babel/preset',
      // '@vue/babel-preset-app',
      "@vue/app",
      {
        "useBuiltIns": "entry",
        corejs: 3,
        "targets": {
          "browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
        },
        polyfills: [
          'es.promise',
          'es.symbol'
        ]
      }
    ]
  ],
  plugins: [
    "@babel/plugin-transform-runtime"
  ]
}
