Skip to content

Commit 5740f22

Browse files
committed
fix(sveltekit): Add conditional exports
1 parent 4e0c460 commit 5740f22

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/sveltekit/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"module": "build/esm/index.server.js",
1414
"browser": "build/esm/index.client.js",
1515
"types": "build/types/index.types.d.ts",
16+
"exports": {
17+
"browser": "./build/esm/index.client.js",
18+
"node": "./build/cjs/index.server.js"
19+
},
1620
"publishConfig": {
1721
"access": "public"
1822
},

0 commit comments

Comments
 (0)