Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 1.92 KB

README.md

File metadata and controls

21 lines (14 loc) · 1.92 KB

[DEPRECATED] roosevelt-less

DEPRECATED: This module is obsoleted by the release of Roosevelt >=0.16.x. You may still need it if you are using Roosevelt <=0.15.x, but it is recommended to upgrade your Roosevelt apps to >=0.16.x as soon as you can because older versions (including this submodule!) are no longer receiving seucrity updates.

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.