mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
changed jsScripts to optimize
This commit is contained in:
parent
05c915f567
commit
5e075f3786
2 changed files with 11 additions and 2 deletions
|
|
@ -124,6 +124,15 @@ exports.Minify={
|
|||
/* post processing function for file
|
||||
* client.js
|
||||
*/
|
||||
|
||||
/* если мы сжимаем client.js -
|
||||
* меняем строку cloudfunc.js на
|
||||
* cloudfunc.min.js и выводим сообщение
|
||||
*
|
||||
* меняем строку keyBinding.js на
|
||||
* keyBinding.min.js
|
||||
* если другой файл - ничего не деалем
|
||||
*/
|
||||
var lPostProcessing_f = function(pFinalCode){
|
||||
console.log('file name of ' +
|
||||
'cloudfunc.js' +
|
||||
|
|
@ -140,7 +149,7 @@ exports.Minify={
|
|||
};
|
||||
|
||||
this.done.js=this._allowed.js?
|
||||
lMinify.jsScripts([{
|
||||
lMinify.optimize([{
|
||||
'client.js': lPostProcessing_f},
|
||||
'lib/cloudfunc.js',
|
||||
'lib/client/keyBinding.js'],
|
||||
|
|
|
|||
2
node_modules/minify
generated
vendored
2
node_modules/minify
generated
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 773064ea1a3a2848ab81f12fe8091cbdc28c5ca5
|
||||
Subproject commit de395fc27627b91b73507590204968e70089141c
|
||||
Loading…
Add table
Add a link
Reference in a new issue