-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
partial() should work with any preprocessor #105
Comments
Makes sense. |
Is there any update on this? I would like to be able to render my less files as an inline style block in order to validate against Google's accelerated mobile pages (which doesn't support linked stylesheets.) Another option is to make the jade-filter mixin available (or upgrade to PugJS which has a built-in filter feature). |
I modified my forks of harp/terraform to support partial LESS files. It works fine for my usage but it breaks some tests and I won't support it, so your mileage may vary. Diff: Install: npm i --save git+https://github.com/justindujardin/harp.git Use:
|
Nice job. I can imagine this wasn't easy to get working. Lots of edge cases. |
@sintaxi any chance to get this feature merged into master? |
Expected Behaviour
Inside templating languages,
partial()
can inline any preprocessed file, like so:Actual Behaviour
This is only possible with other templating languages plus Markdown.
The text was updated successfully, but these errors were encountered: