Skip to content

Conversation

@flochaz
Copy link
Contributor

@flochaz flochaz commented Dec 11, 2025

Context

While using @powersync/drizzle-driver in an imported library, compilation with webpack fail with Module not found: Error: Default condition should be last one due to wrong attribute order in package.json of drizzle-driver. This constraint is coming from https://github.com/webpack/enhanced-resolve package.

@changeset-bot
Copy link

changeset-bot bot commented Dec 11, 2025

🦋 Changeset detected

Latest commit: 577da12

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

This PR includes changesets to release 1 package
Name Type
@powersync/drizzle-driver 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

@flochaz flochaz changed the title fix(drizzle-driver): reorder export attributes fix(drizzle-driver): reorder export attributes preventing "Error: Default condition should be last one" Dec 11, 2025
@Chriztiaan
Copy link
Contributor

Hey @flochaz, thank you for the PR! Could you add a patch changeset entry with pnpm changeset?

@Chriztiaan Chriztiaan merged commit 317c748 into powersync-ja:main Dec 11, 2025
3 checks passed
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