Skip to content

fix: fix ESM build and types#1319

Merged
remarkablemark merged 6 commits intomasterfrom
fix/esm
Jan 30, 2026
Merged

fix: fix ESM build and types#1319
remarkablemark merged 6 commits intomasterfrom
fix/esm

Conversation

@remarkablemark
Copy link
Copy Markdown
Owner

@remarkablemark remarkablemark commented Jan 30, 2026

What is the motivation for this pull request?

Fixes #1317

Caused by #1299

What is the current behavior?

ESM types are not generated

https://arethetypeswrong.github.io/?p=html-dom-parser%405.1.5

image

What is the new behavior?

ESM types are generated and the build is improved

Checklist:

@remarkablemark remarkablemark self-assigned this Jan 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 30, 2026

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/html-dom-parser.min.js 2.22 KB (+5.1% 🔺) 45 ms (+5.1% 🔺) 117 ms (+1668.49% 🔺) 162 ms

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (201f7d6) to head (b1bf1d5).
⚠️ Report is 8 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #1319      +/-   ##
===========================================
+ Coverage   93.10%   100.00%   +6.89%     
===========================================
  Files           7         7              
  Lines         145       134      -11     
  Branches       30        25       -5     
===========================================
- Hits          135       134       -1     
+ Misses          8         0       -8     
+ Partials        2         0       -2     

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

@remarkablemark remarkablemark merged commit 1fe8bd4 into master Jan 30, 2026
16 checks passed
@remarkablemark remarkablemark deleted the fix/esm branch January 30, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type definitions broke in the latest release

1 participant