Skip to content

Commit 0c045b5

Browse files
authored
Merge pull request #44 from dasuni-30/support-esm
chore(react): Update package.json to support ESM modules
2 parents 97048ba + 355234c commit 0c045b5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/eight-ladybugs-pull.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@asgardeo/react': patch
3+
---
4+
5+
Update package.json to support ESM modules

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@asgardeo/react",
33
"version": "0.2.3",
44
"description": "React Wrapper to build customizable login UIs for Asgardeo or Identity Server",
5-
"main": "dist/cjs/index.js",
5+
"main": "dist/esm/index.js",
66
"module": "dist/esm/index.js",
77
"types": "dist/index.d.ts",
88
"type": "module",

0 commit comments

Comments
 (0)