postcss / postcss-load-config

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

Update lilconfig #253

Closed antonk52 closed 8 months ago

antonk52 commented 8 months ago

Hi, lilconfig maintainer here 👋

I have recently released a new major version that is fully compatible with how it is currently used.

Notable Changes

I've updated lilconfig library to v3. There were 2 breaking changes in the library that do not affect this package:

I can see that postcss-load-config has node v14 as min supported version. And since searcher (lilconfig('postcss', options)) is created on every call to rc function the new cache functionality won't be leveraged as the cache is stored in the searcher which gets recreated on every call. Thus this update does not require any updates to the code.

Ideally we would also set cache: false to the searcher's option to skip unnecessary caching.

I only found two places where this package's function is called

Commit Message Summary (CHANGELOG)

update lilconfig to v3.0.0

Type

SemVer

Issues

Checklist

ai commented 8 months ago

Thanks. Released in 4.0.2.