Newer
Older
casic-smartcity-well-front / config / dev.env.js
wangxitong on 20 Jan 2021 578 bytes 总览修改
'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://42.81.160.165:2022/smartwell"'
  // BASE_API: '"http://111.198.10.15:11304"'
  BASE_API: '"http://111.198.10.15:11643/smartwell"'
  // BASE_API: '"http://192.168.8.100:11304"'
})