//打包时删除console
const plugins = [];
if (['production', 'prod'].includes(process.env.NODE_ENV)) {
  plugins.push("transform-remove-console")
}

//ie兼容
module.exports = {
  presets: [
    [
      "@vue/app",
      {
        "useBuiltIns": "entry",
        // polyfills: [
        //   'es6.promise',
        //   'es6.symbol'
        // ]
      }
    ]
  ],
  plugins: plugins
};
