Skip to content

Commit 317c748

Browse files
authored
fix(drizzle-driver): reorder export attributes preventing "Error: Default condition should be last one" (#794)
1 parent 7e23c25 commit 317c748

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@powersync/drizzle-driver": patch
3+
---
4+
5+
Reorder export attributes to prevent "Error: Default condition should be last one".

packages/drizzle-driver/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
"exports": {
1010
".": {
1111
"import": {
12-
"default": "./lib/src/index.js",
13-
"types": "./lib/src/index.d.ts"
12+
"types": "./lib/src/index.d.ts",
13+
"default": "./lib/src/index.js"
1414
},
1515
"require": {
16-
"default": "./dist/index.cjs",
17-
"types": "./dist/index.d.cts"
16+
"types": "./dist/index.d.cts",
17+
"default": "./dist/index.cjs"
1818
}
1919
}
2020
},

0 commit comments

Comments
 (0)