🎈 perf: 优化全局变量
This commit is contained in:
@@ -6,6 +6,9 @@ module.exports = {
|
||||
},
|
||||
defineConstants: {
|
||||
CURRENT_BASE_URL: '"https://test.zzfzyc.com/lymarket"',
|
||||
CURRENT_CAP_HTML_TO_IMAGE_BASE_URL: '"https://test.zzfzyc.com"',
|
||||
CURRENT_PAY_H5_CODE_URL: '"https://test.zzfzyc.com/cashier"',
|
||||
CURRENT_IMG_CND_Prefix: '"https://test.cdn.zzfzyc.com"',
|
||||
},
|
||||
mini: {
|
||||
// optimizeMainPackage: {
|
||||
|
||||
@@ -9,6 +9,7 @@ module.exports = {
|
||||
CURRENT_BASE_URL: '"https://pre.zzfzyc.com/lymarket"',
|
||||
CURRENT_CAP_HTML_TO_IMAGE_BASE_URL: '"https://pre.zzfzyc.com"',
|
||||
CURRENT_PAY_H5_CODE_URL: '"https://pre.zzfzyc.com/cashier"',
|
||||
CURRENT_IMG_CND_Prefix: '"https://test.cdn.zzfzyc.com"',
|
||||
},
|
||||
mini: {
|
||||
optimizeMainPackage: {
|
||||
|
||||
@@ -7,6 +7,9 @@ module.exports = {
|
||||
outputRoot: 'build',
|
||||
defineConstants: {
|
||||
CURRENT_BASE_URL: '"https://www.zzfzyc.com/lymarket"',
|
||||
CURRENT_CAP_HTML_TO_IMAGE_BASE_URL: '"https://www.zzfzyc.com"',
|
||||
CURRENT_PAY_H5_CODE_URL: '"https://www.zzfzyc.com/cashier"',
|
||||
CURRENT_IMG_CND_Prefix: '"https://cdn.zzfzyc.com"',
|
||||
},
|
||||
mini: {
|
||||
optimizeMainPackage: {
|
||||
|
||||
Reference in New Issue
Block a user