Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore cjs "support" #410

Merged
merged 1 commit into from
Feb 22, 2025
Merged

Restore cjs "support" #410

merged 1 commit into from
Feb 22, 2025

Conversation

Secreto31126
Copy link
Owner

Node can require modules, but needs the exports to define them explicitly.

Closes #408

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time.
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.

Tests

  • Run the tests with npm run test and lint the project with npm run lint and npm run prettier

Node can require modules, but needs the exports to define them explicitly
Copy link

Visit the preview URL for this PR (updated for commit fb6f53c):

https://whatsappapijs--pr410-require-fix-9uas3jqv.web.app

(expires Sat, 01 Mar 2025 00:54:51 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 80a8dc4ceea5c783aae1d47b75797ee5b6c2f4be

@Secreto31126 Secreto31126 merged commit b16d1a3 into main Feb 22, 2025
8 checks passed
@Secreto31126 Secreto31126 deleted the require-fix branch February 22, 2025 01:00
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.

Package subpath './messages' is not defined by "exports"
1 participant