|
|
@@ -22,7 +22,10 @@
|
|
|
"exporter",
|
|
|
"font-uas"
|
|
|
],
|
|
|
- "locale":"zh_CN",
|
|
|
+ "locales": [
|
|
|
+ "zh_CN",
|
|
|
+ "en_US"
|
|
|
+ ],
|
|
|
|
|
|
/**
|
|
|
* The relative path to the application's markup file (html, jsp, asp, etc.).
|
|
|
@@ -221,54 +224,17 @@
|
|
|
|
|
|
"builds": {
|
|
|
//6.6默认主题 扁平风格
|
|
|
- "triton_zh": {
|
|
|
- "theme": "theme-triton",
|
|
|
- "locale":"zh_CN"
|
|
|
- },
|
|
|
- "triton_en": {
|
|
|
- "theme": "theme-triton",
|
|
|
- "locale":"en-US"
|
|
|
- },
|
|
|
- //经典主题
|
|
|
- "classic_zh": {
|
|
|
- "theme": "theme-classic",
|
|
|
- "locale":"zh_CN"
|
|
|
- },
|
|
|
- "classic_en": {
|
|
|
- "theme": "theme-classic",
|
|
|
- "locale":"en-US"
|
|
|
- },
|
|
|
- "gray_zh" : {
|
|
|
- "theme" : "theme-gray",
|
|
|
- "locale":"zh_CN"
|
|
|
- },
|
|
|
- "gray_en" : {
|
|
|
- "theme" : "theme-gray",
|
|
|
- "locale":"en-US"
|
|
|
+ "triton": {
|
|
|
+ "theme": "theme-triton"
|
|
|
},
|
|
|
- "aria_zh": {
|
|
|
- "theme": "theme-aria",
|
|
|
- "locale":"zh_CN"
|
|
|
+ "aria": {
|
|
|
+ "theme": "theme-aria"
|
|
|
+ },
|
|
|
+ "neptune" : {
|
|
|
+ "theme": "theme-neptune"
|
|
|
},
|
|
|
- "aria_en": {
|
|
|
- "theme": "theme-aria",
|
|
|
- "locale":"en-US"
|
|
|
- },
|
|
|
- "neptune_zh" : {
|
|
|
- "theme": "theme-neptune",
|
|
|
- "locale":"zh_CN"
|
|
|
- },
|
|
|
- "neptune_en" : {
|
|
|
- "theme": "theme-neptune",
|
|
|
- "locale":"en-US"
|
|
|
- },
|
|
|
- "crisp_zh" :{
|
|
|
- "theme": "theme-crisp",
|
|
|
- "locale":"zh_CN"
|
|
|
- },
|
|
|
- "crisp_en" :{
|
|
|
- "theme": "theme-crisp",
|
|
|
- "locale":"en-US"
|
|
|
+ "crisp" :{
|
|
|
+ "theme": "theme-crisp"
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -447,14 +413,19 @@
|
|
|
|
|
|
"output": {
|
|
|
"base": "${workspace.build.dir}/${build.environment}/${app.name}",
|
|
|
+ "manifest": "${build.id}.json", // 增加该配置
|
|
|
+ "framework": "${build.id}/framework.js", // 增加该配置(如果开启了split.mode会有framework.js)
|
|
|
"appCache": {
|
|
|
"enable": false
|
|
|
},
|
|
|
- "resources": {
|
|
|
- "path": "${build.id}/resources",
|
|
|
- "shared": "resources"
|
|
|
- },
|
|
|
- "manifest":"${build.id}.json"
|
|
|
+ "js": {
|
|
|
+ "path": "${build.id}/app.js", // 增加该配置
|
|
|
+ "filter": "all" //all/minimum
|
|
|
+ }
|
|
|
+ // "resources": {
|
|
|
+ // "path": "${build.id}/resources",
|
|
|
+ // "shared": "resources"
|
|
|
+ // },
|
|
|
},
|
|
|
|
|
|
/**
|