gpt4 book ai didi

css - 如何在我的 ANT 构建文件中包含从 LESS 到 CSS 的转换而不包含额外的 Rhino .jar?

转载 作者:行者123 更新时间:2023-11-28 13:35:33 25 4
gpt4 key购买 nike

Rhino 似乎包含在任何通过 Java 6 的版本中。如何使用 java 中包含的 Rhino 功能将 LESS 转换为我的 build.xml 文件中的 CSS?

最佳答案

dist/ folder in the GitHub repository 中有一个 less 的 rhino 版本.和 this answer展示了如何在 Ant 脚本中使用它。

关于css - 如何在我的 ANT 构建文件中包含从 LESS 到 CSS 的转换而不包含额外的 Rhino .jar?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9881663/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com