Newer
Older
smartwell_front / config / dev.env.js
StephanieGitHub on 12 Jun 2020 799 bytes MOD:更改ip端口号, 升级node-sass
'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://192.168.0.212:8083"'
  // BASE_API: '"http://192.168.8.201:8083/smartwell"'
  BASE_API: '"http://111.198.10.15:11704/smartwell"'
  // BASE_API: '"http://139.198.16.38:8095/smartcity"'
  // BASE_API: '"http://10.9.39.8:8083"'
  // BASE_API: '"http://192.168.0.244:8083"'
})