🔧 Use module instead of main config fields

This commit is contained in:
Dan6erbond 2021-05-25 18:23:20 +02:00
parent 27d83ef387
commit b8a4c5a285
3 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{
"internal": true,
"main": "../dist/client/index.js",
"module": "../dist/client/index.js",
"types": "../dist/client/index.d.ts"
}

View File

@ -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",

View File

@ -1,5 +1,5 @@
{
"internal": true,
"main": "../dist/providers/index.js",
"module": "../dist/providers/index.js",
"types": "../dist/providers/index.d.ts"
}