roosevelt-less

0.8.0 • Public • Published

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.

Dependencies (1)

Dev Dependencies (10)

Package Sidebar

Install

npm i roosevelt-less

Weekly Downloads

10

Version

0.8.0

License

CC-BY-4.0

Unpacked Size

5.49 kB

Total Files

5

Last publish

Collaborators

  • kethinov