fix: support ESM version of postcss.config.js#614
Conversation
Codecov ReportBase: 93.14% // Head: 89.33% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #614 +/- ##
==========================================
- Coverage 93.14% 89.33% -3.81%
==========================================
Files 5 5
Lines 321 347 +26
Branches 106 113 +7
==========================================
+ Hits 299 310 +11
- Misses 20 34 +14
- Partials 2 3 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
postcss.config.mjs silently fail, as if the config wasn't specified. |
|
@alexander-akait cosmiconfig from version 8.2.0 support ESM config without patch, with the Async APi |
Can you provide reproducible test repo? |
This PR contains a:
Motivation / Use-Case
Allow to load ESM configuration, tests are impossible due bugs and unstable ESM working in jest, so tested manually
Breaking Changes
No
Additional Info
Fixes #613