/*
 * @Descripttion:
 * @version:
 * @Author: 王三华
 * @Date: 2023-09-19 10:45:28
 */
module.exports = {
  transpileDependencies: ['uview-ui'],
  devServer: {
    open: true,
    port: 8099,
    proxy: {
      // '/prod-api': {
      //   target: 'http://localhost:8080',
      //   changeOrigin: true,
      //   pathRewrite: {
      //     '^/prod-api': ''
      //   }
      // },
      '/prod-api': {
        target: 'http://t-mana.beida666.com',
        changeOrigin: true,
        // pathRewrite: {
        //   '^/prod-api': ''
        // }
      },
    },
  },
  configureWebpack: {
    externals: {
      zhCN: 'zhCN',
      enUS: 'enUS',
      zhTC: 'zhTC',
      ruRU: 'ruRU',
      frFR: 'frFR',
    },
  },
};
