Skip to content

Commit

Permalink
fix: remove exports field from core
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Apr 12, 2023
1 parent 5be59be commit 6e0e594
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-maps-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@svbstrate/core": patch
---

Remove `exports` field. Not compatible with React Native atm.
4 changes: 0 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./presets": "./dist/presets.js"
},
"scripts": {
"build": "vite build && pnpm typegen",
"test": "vitest run --coverage",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"target": "es2021",
"lib": ["es2021"],
"module": "es2022",
"moduleResolution": "node16",
"moduleResolution": "node",
"types": ["vite/client"],
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
Expand Down

0 comments on commit 6e0e594

Please sign in to comment.