preactjs / preact-custom-element

Wrap your component up as a custom element
MIT License
355 stars 52 forks source link

Generating preact-ce.module.js #77

Closed emindeniz99 closed 1 year ago

emindeniz99 commented 1 year ago

Hello, I cannot find how to generate preact-ce.module.js from source code.

https://www.jsdelivr.com/package/npm/preact-custom-element?path=dist

image

when I build on my local environment, I could not find

image
rschristian commented 1 year ago

In all likelihood it's a left over artifact from a previous build; Microbundle doesn't clear out the dist/ directory on rebuild and the fact that there's no preact-ce.modern.js to me is a bit of a hint that Microbundle might've been ran, upgraded to a new version, then re-ran, leaving left over files to be published.

None are referenced by the package.json, so they're not meant for use. A publish mistake is most likely.