mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
added ability to work with minify module install thru npm
This commit is contained in:
parent
277303dc5d
commit
a76397a977
1 changed files with 4 additions and 0 deletions
|
|
@ -157,6 +157,10 @@ CloudServer.Minify={
|
|||
try{
|
||||
lMinify = require(CloudServer.LIBDIRSERVER+'/minify');
|
||||
}catch(pError){
|
||||
try{
|
||||
lMinify = require('minify');
|
||||
}catch(pError){}
|
||||
|
||||
return console.log('Could not minify withou minify module\n' +
|
||||
'for fixing type:\n' +
|
||||
'git submodule init\n' +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue