支持“向后@import解析”的无窗口编译器

发布于 2024-12-13 07:13:58 字数 521 浏览 2 评论 0原文

我看到 less.app (在 Mac 上)支持向后导入

在 LESS CSS 中,我可以更少地观看一堆文件,但在它们更改时编译不同的文件吗?

所以,如果我有一个全球.减去进口内部 less 文件,当我更改内部文件时,它将重新编译全局 less 文件。

有谁知道如何在浏览器编译器中使用 less.js 来做到这一点?或者说这是不可能的?

或者可能更好,基于 Windows 的编译器可以执行此操作,或者能够监视文件夹,但在任何文件夹发生更改时只编译全局文件。

到目前为止,我已经尝试过 winless、less parser 和 simples,但这些都无法做到这一点。即使当文件夹中发生任何更改时它会编译所有较少的文件,我也会很高兴。

非常感谢!

I see that the less.app (on the mac) supports backwards importing

In LESS CSS can I get LESS to watch a bunch of files but compile a different file when they change?

So if I have a global.less that imports an inner less file, it will recompile the global less file, when I change the inner file.

Does anyone know of a way to do this using the less.js in browser compiler? Or is that impossible?

Or probably even better, a windows based compiler that would do this or be able to watch the folder but just compile the global file when any of the folders change.

So far I've tried winless, the less parser and simpless and neither of these will do this. Even if it comiled all the less files to when anything changes in the folder I'd be happy.

Much appreciated!

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

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

发布评论

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

评论(1

就像说晚安 2024-12-20 07:13:58

WinLess 在 1.1.0 版本中添加了对自动向后 @import 编译的支持。

Support for automatic backwards @import compiling has been added to WinLess in version 1.1.0.

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