Skip to content
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

Middleware for LESS CSS #70

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

hellogerard
Copy link

The middleware will compile LESS files on-the-fly using the Assetic library. It supports minification and caching, also via Assetic. I've been using this in my project for a couple weeks. Inspired by less-middleware from the node world.

@silentworks
Copy link
Collaborator

This is a great middleware. Could you create a separate repo for it and we will link it somewhere in the documentation about it or on the Slim website.

Currently adding the extra dependency to the composer.json for assetic and cssmin would be too much for some users who wouldn't make use of this middleware.

We will be changing how middleware gets added soon, maybe we will have something like the npm directory just for middleware to allow users to search for middleware available via composer (through packagist).

@hellogerard
Copy link
Author

Done! https://github.com/hellogerard/less-slim-middleware

I guess you can close this PR...?

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

Successfully merging this pull request may close these issues.

2 participants