Skip to content

Conversation

@cernymatej
Copy link
Contributor

fix #490

This fixes a problem where we didn't handle exports like this:

export const FOO='foo',BAR='bar'

@danielroe danielroe requested review from antfu and Copilot and removed request for Copilot January 6, 2026 21:39
@codecov
Copy link

codecov bot commented Jan 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.12%. Comparing base (a4a5e0a) to head (7dedb09).
⚠️ Report is 144 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #491      +/-   ##
==========================================
- Coverage   98.73%   95.12%   -3.61%     
==========================================
  Files          14       13       -1     
  Lines        1817      964     -853     
  Branches      374      327      -47     
==========================================
- Hits         1794      917     -877     
- Misses         23       44      +21     
- Partials        0        3       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@antfu antfu merged commit e908b92 into unjs:main Jan 7, 2026
4 of 5 checks passed
@cernymatej cernymatej deleted the fix/handle-comma-separated-exports branch January 7, 2026 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

toImport doesn't handle comma separated declaration exports

2 participants