Skip to content

Conversation

@rschristian
Copy link
Member

@rschristian rschristian commented Oct 25, 2025

Just something to build on, no intention of shipping anytime soon

Features

  • Supports Node-native ESM

Breaking Changes

  • Adds export map
  • Switches ESM output to use .mjs
  • Drops kebab to camel attribute conversion
    • This is rather weird and supports behavior (kebab-cased attributes) which aren't standard to HTML. Preact makes no attempt to coerce or guess naming conventions and we should match that behavior here.

@github-actions
Copy link

github-actions bot commented Oct 25, 2025

Size Change: -1.46 kB (-27.02%) 🎉

Total Size: 3.95 kB

Filename Size Change
dist/preact-custom-element.esm.js 0 B -1.36 kB (removed) 🏆
dist/preact-custom-element.js 1.29 kB -54 B (-4.02%)
dist/preact-custom-element.umd.js 1.36 kB -51 B (-3.62%)
ℹ️ View Unchanged
Filename Size
dist/preact-custom-element.mjs 1.3 kB

compressed-size-action

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.

2 participants