Error: is not a PostCSS plugin
comerc opened this issue · comments
#кодеротбога commented
reconstruction:
const sugarss = require('sugarss');
const sorting = require('postcss-sorting');
const postcss = require('postcss');
let s = `
.test
color: red
`;
postcss([sorting], { parser: sugarss }).process(s).then(function (result) {
console.log('test', result.content);
});
Error: is not a PostCSS plugin at Processor.normalize (/postcss/lib/processor.js:60:23)
#кодеротбога commented