123456789101112131415161718 |
- 'use strict'
- let params = process.argv[2]
- let baseUrl = ''
- switch (params) {
- case 'uat':
- baseUrl = '"https://uat.jzmall.lifejingzhi.com/wx/"'
- break
- case 'prod':
- baseUrl = '"https://jzmall.lifejingzhi.com/wx/"'
- break
- default:
- baseUrl = '"https://jzmall.lifejingzhi.com/wx/"'
- }
- module.exports = {
- NODE_ENV: '"production"',
- baseUrl: baseUrl
- }
|