Skip to content

Commit 5794014

Browse files
authored
fix: typescript-config export form react-native-web (#10671)
### Description <!-- ✍️ Write a short summary of your work. If necessary, include relevant screenshots. --> When setting up the react native web template, you get hit with `File '@repo/typescript-config/nextjs.json' not found.` in `apps/web/tsconfig..json`. Properly exporting the config files from `packages/typescript-config` so it works out the box. ### Testing Instructions <!-- Give a quick description of steps to test your changes. --> Clone the template, notice no more `no found` errors.
1 parent 9b4f3d3 commit 5794014

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • examples/with-react-native-web/packages/typescript-config

examples/with-react-native-web/packages/typescript-config/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@
44
"private": true,
55
"publishConfig": {
66
"access": "public"
7+
},
8+
"exports": {
9+
"./base.json": "./base.json",
10+
"./nextjs.json": "./nextjs.json",
11+
"./react-native-library.json": "./react-native-library.json"
712
}
813
}

0 commit comments

Comments
 (0)