Skip to content

Commit a31d806

Browse files
committed
fix: 📦 package exports
1 parent 414be8c commit a31d806

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

package.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
"name": "@svelte-dev/auth-oauth2",
33
"version": "0.0.3",
44
"description": "A OAuth2Strategy for @svelte-dev/auth",
5-
"main": "./build/index.js",
6-
"svelte": "./build/index.js",
7-
"module": "./build/index.js",
5+
"exports": {
6+
".": {
7+
"types": "./build/index.d.ts",
8+
"import": "./build/index.js"
9+
},
10+
"./package.json": "./package.json"
11+
},
812
"types": "./build/index.d.ts",
913
"homepage": "https://github.com/willin/svelte-auth-oauth2#readme",
1014
"repository": {

0 commit comments

Comments
 (0)