postcss-load-config automatically loads a PostCSS configuration and the PostCSS plugins defined in it, supporting multiple config formats such as package.json, .postcssrc, and postcss.config.js (including config files that export a function). It is useful when you want PostCSS to resolve the configured parser, source maps, and plugin list at build or runtime, without manually wiring them up.
Project status
- The repository appears to be actively maintained, with the last upstream push on 2026-04-24, but the most recent tagged
updatesshown here are from 2019 (v2.1.0). - Apparent release/update cadence is low based on tags in the provided history (v1.2.0 in 2017, v2.0.0 in 2018, v2.1.0 in 2019), so it looks more like steady maintenance than frequent iteration.
AI summary generated Today
Recent updates
v2.1.0
6/10/2019v2.1.0 adds synchronous configuration loading via postcssrc.sync. It also fixes plugin loading so that undefined plugin options are treated like no options. The code diff additionally changes configuration resolution behavior and default option handling beyond what the release notes describe.
Featuresv2.0.0
7/10/2018v2.0.0 is a major refactor of postcss-load-config, moving the implementation into src/, switching to cosmiconfig v4, and using import-cwd to resolve modules. It also reimplements option and plugin loading internally (src/options.js and src/plugins.js), with improved error messages that include the config file path.
BreakingFeaturesv1.2.0
2/13/2017v1.2.0 introduces support for loading PostCSS config files with extensions (for example, .postcssrc.json and .postcssrc.yaml). The code change enables this behavior by default via a default options merge, and the release also bumps several related dependencies.
Features