postcss / postcss-load-config

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

refactor: use try-catch with dynamic imports so that they can be replaced easily by bundlers #262

Closed brc-dd closed 2 months ago

brc-dd commented 2 months ago

Notable Changes

Commit Message Summary (CHANGELOG)

make it easy to replace dynamic imports for tools bundling this module

Type

SemVer

Issues

This was adjusted in #260. Needed for vite because without replacement rollup bundles tsx and jiti. yaml import is already correct.

Checklist

ai commented 2 months ago

Thanks. Released in 6.0.1.