forked from extern/egroupware
* SmallPART: concatenate and minify all Java/TypeScript files to speed up loading
This commit is contained in:
parent
39ad3a7977
commit
03469add3e
21
Gruntfile.js
21
Gruntfile.js
@ -125,7 +125,6 @@ module.exports = function (grunt) {
|
||||
"api/js/etemplate/et2_core_valueWidget.js",
|
||||
"api/js/etemplate/et2_core_inputWidget.js",
|
||||
"api/js/etemplate/et2_widget_color.js",
|
||||
"api/js/etemplate/et2_widget_countdown.js",
|
||||
"api/js/jquery/blueimp/js/blueimp-gallery.min.js",
|
||||
"api/js/etemplate/expose.js",
|
||||
"api/js/etemplate/et2_widget_description.js",
|
||||
@ -196,6 +195,7 @@ module.exports = function (grunt) {
|
||||
"api/js/etemplate/et2_extension_itempicker_actions.js",
|
||||
"api/js/etemplate/et2_widget_itempicker.js",
|
||||
"api/js/etemplate/et2_widget_script.js",
|
||||
"api/js/etemplate/et2_widget_countdown.js",
|
||||
"api/js/etemplate/et2_core_legacyJSFunctions.js",
|
||||
"api/js/etemplate/etemplate2.js"
|
||||
]
|
||||
@ -279,6 +279,25 @@ module.exports = function (grunt) {
|
||||
"projectmanager/js/app.js"
|
||||
]
|
||||
}
|
||||
},
|
||||
smallpart: {
|
||||
files: {
|
||||
"smallpart/js/app.min.js": [
|
||||
"smallpart/js/et2_widget_videobar.js",
|
||||
"smallpart/js/et2_videooverlay_interface.js",
|
||||
"smallpart/js/overlay_plugins/et2_smallpart_overlay_html.js",
|
||||
"smallpart/js/overlay_plugins/et2_smallpart_question_multiplechoice.js",
|
||||
"smallpart/js/overlay_plugins/et2_smallpart_question_singlechoice.js",
|
||||
"smallpart/js/overlay_plugins/et2_smallpart_question_text.js",
|
||||
"smallpart/js/et2_widget_videooverlay.js",
|
||||
"smallpart/js/et2_widget_videooverlay_slider_controller.js",
|
||||
"smallpart/js/et2_widget_videotime.js",
|
||||
"smallpart/js/et2_widget_comment.js",
|
||||
"smallpart/js/et2_widget_color_radiobox.js",
|
||||
"smallpart/js/et2_widget_filter_participants.js",
|
||||
"smallpart/js/app.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
cssmin: {
|
||||
|
@ -252,6 +252,7 @@ class Bundle
|
||||
'mail' => '/mail/js/app.js',
|
||||
'projectmanager' => '/projectmanager/js/app.js',
|
||||
'messenger' => '/messenger/js/app.js',
|
||||
'smallpart' => '/smallpart/js/app.js',
|
||||
) as $bundle => $file)
|
||||
{
|
||||
if (@file_exists(EGW_SERVER_ROOT.$file))
|
||||
|
Loading…
Reference in New Issue
Block a user