|
|
@@ -275,6 +275,39 @@
|
|
|
"cacheParam": "_dc"
|
|
|
},
|
|
|
|
|
|
+ "builds": {
|
|
|
+ "dev": {
|
|
|
+ "server": {
|
|
|
+ "accountCenter":"http://192.168.0.181:8000",
|
|
|
+ "accountEnterprise":"http://192.168.0.181:8000/#/enterprise",
|
|
|
+ "basePath": {
|
|
|
+ "https": "https://saas-api-dev.usoftchina.com:5443",
|
|
|
+ "http": "http://192.168.0.181:8560"
|
|
|
+ },
|
|
|
+ "urlPattern": "^\/api\/"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "test": {
|
|
|
+ "server": {
|
|
|
+ "accountCenter": "https://saas-test.usoftchina.com:5443",
|
|
|
+ "accountEnterprise": "https://saas-test.usoftchina.com:5443/#/enterprise",
|
|
|
+ "basePath": {
|
|
|
+ "https": "https://saas-api-test.usoftchina.com:5443",
|
|
|
+ "http": "http://192.168.0.181:8575"
|
|
|
+ },
|
|
|
+ "urlPattern": "^\/api\/"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "prod": {
|
|
|
+ "server": {
|
|
|
+ "accountCenter":"https://saas.usoftchina.com",
|
|
|
+ "accountEnterprise":"https://saas.usoftchina.com/#/enterprise",
|
|
|
+ "basePath": "https://saas-api.usoftchina.com",
|
|
|
+ "urlPattern": "^\/api\/"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
/**
|
|
|
* Settings specific to production builds.
|
|
|
*/
|
|
|
@@ -293,12 +326,6 @@
|
|
|
},
|
|
|
"compressor": {
|
|
|
"type": "yui"
|
|
|
- },
|
|
|
- "server": {
|
|
|
- "accountCenter":"https://saas.usoftchina.com",
|
|
|
- "accountEnterprise":"https://saas.usoftchina.com/#/enterprise",
|
|
|
- "basePath": "https://saas-api.usoftchina.com",
|
|
|
- "urlPattern": "^\/api\/"
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -306,68 +333,14 @@
|
|
|
* Settings specific to testing builds.
|
|
|
*/
|
|
|
"testing": {
|
|
|
- "output": {
|
|
|
- "appCache": {
|
|
|
- "enable": true,
|
|
|
- "path": "cache.appcache"
|
|
|
- }
|
|
|
- },
|
|
|
- "loader": {
|
|
|
- "cache": "${build.timestamp}"
|
|
|
- },
|
|
|
- "cache": {
|
|
|
- "enable": true
|
|
|
- },
|
|
|
- "compressor": {
|
|
|
- "type": "yui"
|
|
|
- },
|
|
|
- "server": {
|
|
|
- /** 暂时更改
|
|
|
- "accountCenter": "https://saas-test.usoftchina.com:5443",
|
|
|
- "accountEnterprise": "https://saas-test.usoftchina.com:5443/#/enterprise",
|
|
|
- "basePath": {
|
|
|
- "https": "https://saas-api-test.usoftchina.com:5443",
|
|
|
- "http": "http://192.168.0.181:8575"
|
|
|
- },
|
|
|
- "urlPattern": "^\/api\/"
|
|
|
- **/
|
|
|
- "accountCenter":"http://192.168.0.181:8000",
|
|
|
- "accountEnterprise":"http://192.168.0.181:8000/#/enterprise",
|
|
|
- "basePath": {
|
|
|
- "https": "https://saas-api-dev.usoftchina.com:5443",
|
|
|
- "http": "http://192.168.0.181:8560"
|
|
|
- },
|
|
|
- "urlPattern": "^\/api\/"
|
|
|
- }
|
|
|
},
|
|
|
|
|
|
/**
|
|
|
* Settings specific to development builds.
|
|
|
*/
|
|
|
"development": {
|
|
|
- "output": {
|
|
|
- "appCache": {
|
|
|
- "enable": true,
|
|
|
- "path": "cache.appcache"
|
|
|
- }
|
|
|
- },
|
|
|
- "loader": {
|
|
|
- "cache": "${build.timestamp}"
|
|
|
- },
|
|
|
- "cache": {
|
|
|
- "enable": true
|
|
|
- },
|
|
|
- "compressor": {
|
|
|
- "type": "yui"
|
|
|
- },
|
|
|
- "server": {
|
|
|
- "accountCenter":"http://192.168.0.181:8000",
|
|
|
- "accountEnterprise":"http://192.168.0.181:8000/#/enterprise",
|
|
|
- "basePath": {
|
|
|
- "https": "https://saas-api-dev.usoftchina.com:5443",
|
|
|
- "http": "http://192.168.0.181:8560"
|
|
|
- },
|
|
|
- "urlPattern": "^\/api\/"
|
|
|
+ "watch": {
|
|
|
+ "delay": 250
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -422,7 +395,7 @@
|
|
|
* "css": "${app.output.resources}/${app.name}-all.css",
|
|
|
* "js": {
|
|
|
* "path": "app.js",
|
|
|
- * // This setting constrols the output language level. Set to 'ES6' to
|
|
|
+ * // This setting constrols the output language level. Set to 'ES6' to
|
|
|
* // disable the transpiler
|
|
|
* "version": "ES5"
|
|
|
* },
|
|
|
@@ -563,4 +536,4 @@
|
|
|
* Normally you should never change this value.
|
|
|
*/
|
|
|
"id": "a20e1670-7932-41f6-8e9c-55b77cba3f26"
|
|
|
-}
|
|
|
+}
|