Newer
Older
base_front / config / dev.env.js
StephanieGitHub on 25 Feb 2021 726 bytes MOD:删除无用代码,完善部分bug
'use strict'
//引入webpack的merge插件,用来合并对象,也就是配置文件用的,相同的选项会被覆盖
const merge = require('webpack-merge')
//导入prod.env.js配置文件
const prodEnv = require('./prod.env')
// 将两个配置对象合并,最终结果是 NODE_ENV:‘"development"'
module.exports = merge(prodEnv, {
  NODE_ENV: '"development"',
  // BASE_API: '"http://rest.apizza.net/mock/cfbb939c147bb6d68372de83af189fee/"',
  // BASE_API: '"http://106.74.146.218:2031"'
  // BASE_API: '"http://111.198.10.15:12204"'
  BASE_API: '"http://111.198.10.15:11409"'
  // BASE_API: '"http://139.198.16.38:20005"'
  // BASE_API: '"http://192.168.0.225:8083"'
  // BASE_API: '"http://127.0.0.1:8083"'
})