Skip to content

stylelint-less/postcss-less

 
 

Repository files navigation

postcss-less

A PostCSS syntax for parsing LESS.

Install

npm install @stylelint-less/postcss-less --save-dev

Usage

const postcss = require('postcss');
const postcssLess = require('postcss-less');

const source = `
@a: 1;
@b: 2;
@a: 3;
`;

postcss(plugins)
  .process(source, { syntax: postcssLess })
  .then((result) => {
    console.log(result.content);
  });

Note

This is a fork of postcss-less.

About

PostCSS Syntax for parsing LESS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.8%
  • Less 7.2%