Skip to content

Commit

Permalink
fix(pkg): use legacy entrypoints
Browse files Browse the repository at this point in the history
throws an error in react native
  • Loading branch information
Vexcited committed Aug 7, 2024
1 parent c4e460b commit 7a3d611
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,20 @@
"name": "@literate.ink/utilities",
"version": "1.0.0",
"description": "A general package containing utilities for helping building our libraries.",
"private": false,
"repository": "https://github.com/LiterateInk/Utilities",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsup",
"lint": "tsc"
Expand All @@ -11,24 +24,11 @@
"dist"
],
"author": "LiterateInk <[email protected]> (https://github.com/LiterateInk)",
"repository": "https://github.com/LiterateInk/Utilities",
"homepage": "https://docs.literate.ink/utilities",
"bugs": {
"url": "https://github.com/LiterateInk/Utilities/issues"
},
"license": "MIT",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"devDependencies": {
"@types/node": "^20.14.14",
"@types/set-cookie-parser": "^2.4.10",
Expand Down

0 comments on commit 7a3d611

Please sign in to comment.