postcss / postcss-load-config

Autoload Config for PostCSS
MIT License
638 stars 71 forks source link

Support loading ECMAScript modules, but drop sync API (#230) #234

Closed michael42 closed 2 years ago

michael42 commented 2 years ago

Notable Changes

This PR implements support for .mjs config files (and .js config files within "type": "modules" projects). To support that without much hassle, support for synchronously loading configs is dropped, as ECMAScript Modules are loaded inherently async.

Commit Message Summary (CHANGELOG)

commit message body...

Type

SemVer

Issues

Checklist

ai commented 2 years ago

I will put this task on a little hold until Node.js 12 EOL

binyamin commented 2 years ago

I will put this task on a little hold until Node.js 12 EOL

@ai That time has come. See the release chart.

ai commented 2 years ago

Released in 4.0