RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
利用YUI与Ant怎么对JS和CSS进行压缩-创新互联

利用YUI与Ant怎么对JS和CSS进行压缩?很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。

成都创新互联公司主营西安网站建设的网络公司,主营网站建设方案,重庆APP软件开发,西安h5微信小程序开发搭建,西安网站营销推广欢迎西安等地区企业咨询

具体的相关代码如下:


#css work dir 
commonCss.dir = css 
 
#js work dir 
commonJs.dir = js 
 
#build temp dir  
output.temp.dir = build 
 
#output files in the directory 
output.dir = ${output.temp.dir}_output 
 
#environment needs lib 
liblib = lib 
 
 
 
 
 
   
 
   
     
       
     
   
 
   
   
     
     
     
     
     
     
     
     
   
 
   
   
     
     
       
         
       
     
     
   
 
   
   
     
     
       
         
       
     
     
   
 
   
   
     
     
       
         
       
     
     
     
       
         
       
     
     
     
     
     
       
       
       
       
       
       
     
     
     
   
 
 
 
@echo off 
echo ################################################ 
echo ##########Tool Compress the js and css########## 
echo ################################################ 
echo Please make sure your css and js in the css'directory and js'directory. 
echo If sure,please enter any button to continue the tool. 
pause 
call ant -buildfile compress.xml compress>build.log 
echo compress end  
pause

看完上述内容是否对您有帮助呢?如果还想对相关知识有进一步的了解或阅读更多相关文章,请关注创新互联行业资讯频道,感谢您对创新互联网站建设公司,的支持。



网站栏目:利用YUI与Ant怎么对JS和CSS进行压缩-创新互联
网页链接:http://cqwzjz.cn/article/hojod.html