提交 ac8945de 编写于 作者: NoSubject's avatar NoSubject

优化门户页面请求,合并js文件

修改gulp打包脚本,去掉base_work_begin和base_work_end文件,不再需要两次修改代码
上级 7c3851fa
......@@ -545,7 +545,9 @@ function concat_Style(){
function build_concat_basework_style(){
return gulp.src([
"o2web/source/x_component_process_Work/$Main/default/css.wcss",
"o2web/source/x_component_process_Xform/$Form/default/css.wcss"
"o2web/source/x_component_process_Xform/$Form/default/css.wcss",
"o2web/source/o2_core/o2/widget/$Tab/mobileForm/css.wcss",
"o2web/source/o2_core/o2/widget/$Menu/tab/css.wcss"
])
.pipe(concat_Style())
.pipe(concat('js/base_work_style_temp.js'))
......@@ -641,7 +643,9 @@ function build_concat_baseportal_style(){
return gulp.src([
"o2web/source/x_component_process_Work/$Main/default/css.wcss",
"o2web/source/x_component_portal_Portal/$Main/default/css.wcss",
"o2web/source/x_component_process_Xform/$Form/default/css.wcss"
"o2web/source/x_component_process_Xform/$Form/default/css.wcss",
"o2web/source/o2_core/o2/widget/$Tab/mobileForm/css.wcss",
"o2web/source/o2_core/o2/widget/$Menu/tab/css.wcss"
])
.pipe(concat_Style())
.pipe(concat('js/base_portal_style_temp.js'))
......
......@@ -407,7 +407,9 @@ function createBaseWorkConcatStyleTask(path){
gulp.task(path+".base_work : style", function(){
return gulp.src([
"source/x_component_process_Work/$Main/default/css.wcss",
"source/x_component_process_Xform/$Form/default/css.wcss"
"source/x_component_process_Xform/$Form/default/css.wcss",
"source/o2_core/o2/widget/$Tab/mobileForm/css.wcss",
"source/o2_core/o2/widget/$Menu/tab/css.wcss"
])
.pipe(concat_Style())
.pipe(concat('js/base_work_style_temp.js'))
......@@ -547,7 +549,9 @@ function createBasePortalConcatStyleTask(path){
return gulp.src([
"source/x_component_process_Work/$Main/default/css.wcss",
"source/x_component_portal_Portal/$Main/default/css.wcss",
"source/x_component_process_Xform/$Form/default/css.wcss"
"source/x_component_process_Xform/$Form/default/css.wcss",
"source/o2_core/o2/widget/$Tab/mobileForm/css.wcss",
"source/o2_core/o2/widget/$Menu/tab/css.wcss"
])
.pipe(concat_Style())
.pipe(concat('js/base_portal_style_temp.js'))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册