Skip to content

Commit

Permalink
Merge pull request #374 from ChrisPei/enhance-esm-compatibility
Browse files Browse the repository at this point in the history
Enhance ESM compatibility.
  • Loading branch information
yisar committed Apr 4, 2024
2 parents 641d1de + cd8efb0 commit 6c3475a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"name": "fre",
"version": "2.6.5",
"version": "2.6.6",
"type": "module",
"main": "dist/fre.js",
"unpkg": "dist/fre.umd.js",
"module": "dist/fre.js",
"exports": {
".": {
"import": "./dist/fre.js",
"require": "./dist/fre.umd.js"
"require": "./dist/fre.umd.js",
"types": "./dist/types/index.d.ts"
},
"./jsx-runtime": {
"import": "./jsx-runtime.js",
"require": "./jsx-runtime.js"
"require": "./jsx-runtime.js",
"types": "./jsx-runtime.d.ts"
}
},
"typings": "./dist/types/index.d.ts",
Expand Down

0 comments on commit 6c3475a

Please sign in to comment.