@stylelint-less/postcss-less
v6.1.0
Published
LESS parser for PostCSS
Downloads
1
Maintainers
Readme
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.