diff --git a/client/package.json b/client/package.json index 71a6308..eb0c1cb 100644 --- a/client/package.json +++ b/client/package.json @@ -1,5 +1,5 @@ { "internal": true, - "main": "../dist/client/index.js", + "module": "../dist/client/index.js", "types": "../dist/client/index.d.ts" } diff --git a/package.json b/package.json index 3d3fdde..2c71d29 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,13 @@ "name": "sk-auth", "version": "0.3.5", "description": "Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!", - "main": "dist/index.js", + "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": "./dist/index.js", "./client": "./dist/client/index.js", - "./providers": "./dist/providers/index.js" + "./providers": "./dist/providers/index.js", + "./package.json": "./package.json" }, "files": [ "dist", diff --git a/providers/package.json b/providers/package.json index b3e90a0..a3539da 100644 --- a/providers/package.json +++ b/providers/package.json @@ -1,5 +1,5 @@ { "internal": true, - "main": "../dist/providers/index.js", + "module": "../dist/providers/index.js", "types": "../dist/providers/index.d.ts" }