nuǝW pǝuoᴉʇᴉsoԀ ʎlǝʌᴉʇɐƃǝN

npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

roosevelt-less

0.7.1 • 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

  • cleanCSS: roosevelt-less uses the less-plugin-clean-css plugin under-the-hood for CSS minification and advanced compilation. Use the cleanCSS param to configure options passed to the plugin. See the less-plugin-clean-css docs for documentation on available params.
  • sourceMap: This param is optional. It accepts multiple options which are documented in the LESS API documentation.

Backwards compatibility notes

  • 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.

install

npm i roosevelt-less

Downloadsweekly downloads

413

version

0.7.1

license

CC-BY-4.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability