-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Looking for a Guide or Example for Creating a Preact Module/Libraries/Add-ons #4697
Unanswered
prakhardubey2002
asked this question in
Q&A
-
Hi everyone,
I want to create a Preact module and publish it as an NPM package, but I’m looking for a good example or guide to learn from. Specifically, I need help with:
- Setting up a Preact library with Vite
- Handling ESM & CJS compatibility correctly
- Avoiding CJS errors when used in different environments
Are there any open-source Preact libraries, boilerplates, or in-depth guides that you’d recommend? I’d love to learn from an existing well-structured example.
Thanks in advance! 🚀
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
you mean you wanna learn preact internals and build something similar?
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment