Skip to content

Commit 90cc7ae

Browse files
committed
chore(ci): fix esm issue
1 parent 350b369 commit 90cc7ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/postgrest-js/wrapper.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import index from '../cjs/index.js'
1+
import * as index from '../cjs/index.js'
22
const {
33
PostgrestClient,
44
PostgrestQueryBuilder,
55
PostgrestFilterBuilder,
66
PostgrestTransformBuilder,
77
PostgrestBuilder,
88
PostgrestError,
9-
} = index
9+
} = index.default || index
1010

1111
export {
1212
PostgrestBuilder,

0 commit comments

Comments
 (0)