Skip to content

Commit

Permalink
Merge pull request #5 from coolzjy/patch-1
Browse files Browse the repository at this point in the history
fix: cjs import error
  • Loading branch information
4kimov authored Aug 28, 2023
2 parents 3d0d5d1 + 4b42977 commit f148336
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
"exports": {
".": {
"import": "./esm/sqids.js",
"require": "./cjs/index.js"
"require": "./cjs/sqids.js"
},
"./*": {
"import": "./esm/*.js",
"require": "./cjs/*.js"
},
"./cjs": {
"require": "./cjs/index.js"
"require": "./cjs/sqids.js"
},
"./cjs/*": {
"require": "./cjs/*.js"
Expand All @@ -45,7 +45,7 @@
},
"./package.json": "./package.json"
},
"main": "cjs/index.js",
"main": "cjs/sqids.js",
"unpkg": "dist/sqids.js",
"module": "esm/sqids.js",
"source": "src/sqids.ts",
Expand Down

0 comments on commit f148336

Please sign in to comment.