config 文件夹中的 prod.env.js

 

1 'use strict'
2 module.exports = {
3   NODE_ENV: '"production"',
4   API_HOST:'"http://www.code-js.com:7001"', //线上环境
5   VERSION_CONTROL: false  // yarn build 开启版本控制,开启之后缓存就得每次重新创建,build 的时候得不到优化
6 }

 

posted @ 2020-12-02 16:29  思猿客  阅读(853)  评论(0编辑  收藏  举报