Back to Explore

postcss/postcss-load-config

GitHub
1 watchersOpen source

Last release: 6/10/2019

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 updates shown 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

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v2.1.0

    6/10/2019

    v2.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.

    Features
  • v2.0.0

    7/10/2018

    v2.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.

    BreakingFeatures
  • v1.2.0

    2/13/2017

    v1.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