diff --git a/packages/core/package.json b/packages/core/package.json index 7d76069b96..c1c7340c7e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -35,26 +35,31 @@ "exports": { ".": { "types": "./index.d.ts", - "import": "./index.js" + "import": "./index.js", + "default": "./index.js" }, "./adapters": { "types": "./adapters.d.ts", - "import": "./adapters.js" + "import": "./adapters.js", + "default": "./adapters.js" }, "./errors": { "types": "./errors.d.ts", - "import": "./errors.js" + "import": "./errors.js", + "default": "./errors.js" }, "./jwt": { "types": "./jwt.d.ts", - "import": "./jwt.js" + "import": "./jwt.js", + "default": "./jwt.js" }, "./providers": { "types": "./providers/index.d.ts" }, "./providers/*": { "types": "./providers/*.d.ts", - "import": "./providers/*.js" + "import": "./providers/*.js", + "default": "./providers/*.js" }, "./types": { "types": "./types.d.ts" diff --git a/packages/frameworks-express/package.json b/packages/frameworks-express/package.json index b846859954..938928d87f 100644 --- a/packages/frameworks-express/package.json +++ b/packages/frameworks-express/package.json @@ -13,7 +13,8 @@ "exports": { ".": { "types": "./index.d.ts", - "import": "./index.js" + "import": "./index.js", + "default": "./index.js" }, "./providers": { "types": "./providers/index.d.ts" @@ -23,7 +24,8 @@ }, "./providers/*": { "types": "./providers/*.d.ts", - "import": "./providers/*.js" + "import": "./providers/*.js", + "default": "./providers/*.js" }, "./package.json": "./package.json" },