let config = {
  devServer: {
    proxy: {
      '/api': {
        target: "https://miniapp-api.wxatech.com/game-bsdk/",
        changeOrigin: true,
        pathRewrite: {
          "^/api": "/api"
        }
      }
    }
  }
};
if (process.env.NODE_ENV === 'production') {
  config.publicPath = 'https://miniapp-api.wxatech.com/app_pages';
  config.indexPath = 'walk_daka.html';
  config.assetsDir = 'walk_static';
}
module.exports = config;