/*
 * @LastEditors: gcz
 */
// /*
//  * @LastEditors: gcz
//  */
// // vue.config.js
// const targetApi1 = process.env.NODE_ENV === 'development' ? "https://www.fastmock.site/mock/849a36d819c7df17b9a9e57c62a74a63/mock" : "http://www.ceshi1.com";

// const targetApi2 = process.env.NODE_ENV === 'development' ? "http://www.kaifa2.com" : "http://www.ceshi2.com";
// module.exports = {
//     devServer: {
//         proxy: {
//             '/api1': {
//                 target: targetApi1,
//                 changeOrigin: true,
//                 pathRewrite: {
//                     "/api1": ""
//                 }
//             },
//             '/api2': {
//                 target: targetApi2,
//                 changeOrigin: true,
//                 pathRewrite: {
//                     '/api2': ""
//                 }
//             },
//         }
//     }
// }
module.exports = {
  publicPath: './',
  configureWebpack: {
    externals: {
      AMap: "AMap",
      AMapUI: "AMapUI"
    }
  }
}