• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FullHuman / purgecss / 40936853985
95%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2026 07:06PM UTC
Jobs 1
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Oct 2026 07:05PM UTC coverage: 91.703% (+0.02%) from 91.681%
40936853985

push

github

web-flow
[repo-assist] fix(postcss-purgecss): load `purgecss.config.js` like the PurgeCSS API (#1528)

* fix(postcss-purgecss): load purgecss.config.js like the PurgeCSS API

The plugin imported purgecss.config.js with a bare `import(path)` and
used the module namespace as the options. At runtime the build keeps a
native dynamic import, so `module.exports = { ... }` and
`export default { ... }` configs came back as `{ default: {...} }` and
were silently ignored. Plain absolute paths also fail on Windows.

Import the file URL and unwrap `default`, as `setOptions` does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(postcss-purgecss): report config file errors and combine safelists

- only skip `purgecss.config.js` when it does not exist. A config file
  that fails to load (e.g. a syntax error) now fails with
  "Error loading the config file ...", like the PurgeCSS API, instead of
  being silently ignored
- combine the safelist of the config file and of the plugin options,
  category by category. Before, any `safelist` in the plugin options,
  even an empty one, replaced the config file's safelist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GfM7HtCSJF647Jd679RRc2

* test(postcss-purgecss): cover config files with named exports

- test a config file with named exports and no default export, the
  branch of the loader that was not covered
- put the path of the config file and the error itself in the loading
  error message, instead of a branch on the type of the error

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GfM7HtCSJF647Jd679RRc2

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

497 of 576 branches covered (86.28%)

Branch coverage included in aggregate %.

542 of 557 relevant lines covered (97.31%)

10308.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40936853985.1 29 Oct 2026 07:06PM UTC 17
89.4
GitHub Action Run
Source Files on build 40936853985
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40936853985
  • f13dd143 on github
  • Prev Build on main (#40921227780)
  • Next Build on main (#40937225468)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc