[英]Find all unused Javascript and CSS files in my application
Is there a way to find unused javascript files ?有没有办法找到未使用的 javascript 文件? As I am working on very big and old application and many people have worked on this application and recently we have made it responsive and added bootstrap as well, all others have added Javascript and css files as per their convenience.因为我正在开发非常大和旧的应用程序,很多人都在开发这个应用程序,最近我们使它具有响应性并添加了引导程序,所有其他应用程序都根据他们的方便添加了 Javascript 和 css 文件。 But now I want to minimize these files and keep only required files in my system.但现在我想最小化这些文件,只在我的系统中保留需要的文件。
Kindly suggest any tool to find unused files.请建议任何工具来查找未使用的文件。
Developer tools in your browser. 浏览器中的开发人员工具。 For example Chrome: Developer tools -> Network 例如Chrome:开发人员工具->网络
You can use firebug, which is an add on in Firefox. 您可以使用firebug,这是Firefox中的附加功能。
https://addons.mozilla.org/en-US/firefox/addon/firebug/ https://addons.mozilla.org/zh-CN/firefox/addon/firebug/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.