帮助我在构建war文件时删除javaScript文件中的注释. [英] Help me to remove the comments in the javaScript files while building war files.

查看:104
本文介绍了帮助我在构建war文件时删除javaScript文件中的注释.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



谁能让我知道在使用ANT建立战争时从战争文件中的javascript文件中删除注释和空格而又不影响原始JavaScript文件的方法吗?

Hi,

Can anyone let me know the way to remove the comments and spaces from the javascript files in the war file at the time of building war using ANT without affecting the original JavaScript files?

推荐答案

如果您从Javascript中删除空格,它将无法编译,我会保证. :-)

希望您还想做其他事情.

-SA
If you remove spaces form Javascript, it won''t compile, I''ll guarantee that. :-)

Hope you wanted to do something else.

—SA


删除以下位置的评论JavaScript [ ^ ]

用于Web应用程序的JavaScript压缩工具 [可加快JavaScript,CSS和图像文件加载速度的软件包 [
Removing comments in JavaScript[^]

A JavaScript Compression Tool for Web Applications[^]

Free attachment
Package that speeds up loading of JavaScript, CSS and image files[^]


这篇关于帮助我在构建war文件时删除javaScript文件中的注释.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆