craft-native/craft
fix(packaging): prioritize framework declaration exports
#295
Merged
glennmichael123
wants to merge
codex/framework-types-condition
into
main
3 files
+6
-6
packages/react/package.jsonmodified+2-2Changes to packages/react/package.json | @@ -19,9 +19,9 @@ |
| 19 | 19 | "types": "dist/index.d.ts", |
| 20 | 20 | "exports": { |
| 21 | 21 | ".": { |
| 22 | + "types": "./dist/index.d.ts", |
| 22 | 23 | "import": "./dist/index.mjs", |
| 23 | | - "require": "./dist/index.js", |
| 24 | | - "types": "./dist/index.d.ts" |
| 24 | + "require": "./dist/index.js" |
| 25 | 25 | } |
| 26 | 26 | }, |
| 27 | 27 | "scripts": { |