是否可以禁用“minify-cation”?与缩小?

发布于 2024-10-05 20:20:02 字数 183 浏览 0 评论 0原文

在 ZF 项目中,我使用 Minify lib 来合并和缩小我的 js,因为它是一个旧项目,我没有编写视图助手来处理 minify,并且无法使用 ZF 来管理它。

但由于混淆,在线调试很困难。

我想知道是否可以禁用压缩、混淆或其他任何功能,然后使用 minify 将脚本合并到单个文件中。

有什么想法吗?

Within a ZF project I'm using Minify lib to merge and minify my js, since it's an old project, I didn't wrote a view helper to handle minify and there were no way to manage this with ZF.

But well it's difficult to debug online because of the obfuscation.

i'd like to know if it's possible to disable compression, obfuscation or whatever, and just use minify to merge scripts into a single file.

Any ideas ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

埋情葬爱 2024-10-12 20:20:02

查看调试模式。如果您无法直接将 &debug 添加到 URL,您可以临时将 $_GET['debug'] = '1'; 添加到您的 /min/config开发环境中的 .php 文件。

Look into debug mode. If you can't add &debug to the URLs directly, you could temporarily add $_GET['debug'] = '1'; to your /min/config.php file in your development environment.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文