-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
I'd like it if lorem-ipsum provided a build in ES Module format, allowing it to be used in a browser without requiring bundling, imported directly from UNPKG, etc.
As a proof of concept (and because I was impatient), I forked and published to my own namespace on npm; it only required a few lines of changes:
https://github.com/knicklabs/lorem-ipsum.js/compare/main...graynorton:lorem-ipsum.js:esm?expand=1
I'm happy to submit a PR if you're interested.
FYI, my immediate use case was creating an example in the Lit.dev playground, which uses UNPKG to load external packages:
https://lit.dev/playground/#gist=a4c46a99c0095cef9b6f42d77df21cbf
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels