I am using google closure compiler to compress all the javascript into single file.
While compliance it give lot of warning messages.In my case I have already compressed third party JS files, Which causes complete file to be printed on browser (i saw build progress in browser) for a single error. I cannot modify third party js due to licenses issue.
I am getting tons of warning messages with complete code in browser window, which causes browser to be hanged.
How can I suppressed all the warnings for particular file.
使用--hide_warnings_for=node_modules/somelibrary
标志。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.