const postcss = require('postcss'); // 8.3.11
const postcssPresetEnv = require('postcss-preset-env'); //7.0.0
const autoprefixer = require('autoprefixer'); // 10.4.0
const YOUR_CSS = `
a {
overflow: clip;
}
`;
//console.log(await postcss([autoprefixer({ overrideBrowserslist: 'defaults' })])
// .process(YOUR_CSS, { from: undefined }))
// this succeeded
console.log(await postcss([postcssPresetEnv({ browsers: 'chrome 80' })])
.process(YOUR_CSS, { from: undefined }))
// this throws