Skip to content

Commit ae2be52

Browse files
committed
Use exports.worker for cloudflare
1 parent 838c8da commit ae2be52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"module": "src/index.js",
77
"main": "cjs/src/index.js",
88
"exports": {
9-
"workerd": "./cf/src/index.js",
9+
"worker": "./cf/src/index.js",
1010
"types": "./types/index.d.ts",
1111
"import": "./src/index.js",
1212
"default": "./cjs/src/index.js"
@@ -56,4 +56,4 @@
5656
"pg",
5757
"database"
5858
]
59-
}
59+
}

0 commit comments

Comments
 (0)