Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Support less via less.js during development #19

Open
fwenzel opened this issue Mar 15, 2012 · 3 comments
Open

Support less via less.js during development #19

fwenzel opened this issue Mar 15, 2012 · 3 comments

Comments

@fwenzel
Copy link
Collaborator

fwenzel commented Mar 15, 2012

If I add some less files to a bundle and set TEMPLATE_DEBUG=True, jingo-minify should add a script tag for less.js as well, so that the less files are interpreted on the fly. This keeps me from having to install node.js and lessc and all that jazz unless I want to.

@jsocol
Copy link
Owner

jsocol commented Mar 18, 2012

This means we'd have to add less.js as a static file and, thus, staticfiles and all that, which is a pretty big conceptual change. Maybe a good one, but not easy. Or a setting like LESSJS_PATH and force downstream projects to include it.

@fwenzel
Copy link
Collaborator Author

fwenzel commented Mar 19, 2012

Hm, I'd be fine with having to define it in a setting. At least this way I wouldn't have to manually add it to my templates wrapped in an if clause so it doesn't show up in production :)

@gkoberger
Copy link
Contributor

We do it on zamboni, however it would be nice to make it just work right out of the box. I think it'd be fine to make projects specify the LESS location, since we already make them point to where they installed lessc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants