A PostCSS syntax for parsing LESS.
npm install @stylelint-less/postcss-less --save-dev
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);
});
This is a fork of postcss-less.