less-plugin-future-compat

1.0.1 • Public • Published

less-plugin-future-compat NPM Version Build Status

Less.js plugin to avoid conflicts with future CSS features.

Less.js will attempt to use its own internal functions such as color() and will result in errors preventing you from compiling your code. This library removes those functions so that your future CSS code is compatible and ready for a post-processor.

Installation

Node.js >= 4 is required. To install, type this at the command line:

npm install less-plugin-future-compat

Usage

var futureCompat = require("less-plugin-future-compat");
var options = { plugins: [futureCompat] };
 
less.render(lessInput, options).then( function(output) {
    // Pass through to post-processor
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i less-plugin-future-compat

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • stevenvachon