/roosevelt-less

LESS CSS preprocessor support for Roosevelt MVC web framework.

Primary LanguageJavaScriptOtherNOASSERTION

roosevelt-less

Build Status codecov npm

LESS CSS preprocessor middleware for Roosevelt MVC web framework. See Roosevelt CSS compiler docs for usage.

Params

  • sourceMap: This param is optional. It accepts multiple options which are documented in the LESS API documentation. By default, this param is enabled with sourceMapFileInline: true and outputSourceFiles: true in development mode.

Backwards compatibility notes

  • roosevelt-less 0.8.x is compatible with Roosevelt 0.15.x and later.
  • roosevelt-less 0.7.x is compatible with Roosevelt 0.12.x and later.
  • roosevelt-less 0.6.x is compatible with Roosevelt 0.11.x and lower.
  • Since the upgrade to LESS v2, roosevelt-less uses the third party package less-plugin-clean-css for minification and compilation. Although the old LESS compress option from previous versions is no longer supported, roosevelt-less will still allow it as a valid parameter and will simply interpret the parameter to enable the clean-css plugin's advanced and aggressiveMerging options.