jahilldev / component-elements

Create a custom element from any component with these tiny functions (2KB GZipped, ~1KB Brotli). Preact and React currently supported
MIT License
89 stars 7 forks source link

Added dual bundle config for "exports" key #2

Closed jahilldev closed 2 years ago

jahilldev commented 3 years ago

Results define.es5.js = 7.84 KiB (3KiB GZipped, 2KiB Brotli) define.js = 5.59 KiB (2KiB Gzipped, 1KiB Brotli)