Skip to content

Conversation

rkistner
Copy link
Contributor

@rkistner rkistner commented Sep 12, 2024

All that is really needed for NodeJS compatibility is correctly identifying the bundled module as ESM via the mjs extension.

Additionally, this changes the source to be compatible with Node16 modules (explicit .js extension in imports everywhere).

Builds on #301.

Copy link

changeset-bot bot commented Sep 12, 2024

🦋 Changeset detected

Latest commit: 367d65d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@powersync/common Minor
@powersync/react-native Patch
@powersync/web Patch
@powersync/diagnostics-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Base automatically changed from remove-lodash-2 to main September 12, 2024 11:17
@rkistner rkistner marked this pull request as ready for review September 12, 2024 11:29
Copy link
Collaborator

@stevensJourney stevensJourney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy with these changes.

@rkistner rkistner merged commit 55bd6cd into main Sep 12, 2024
5 checks passed
@rkistner rkistner deleted the common-cjs branch September 12, 2024 11:43
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.

2 participants