Skip to content

Commit ab97df6

Browse files
committed
docs: link to customConditions in TypeScript docs
1 parent cffe7dc commit ab97df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/esm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Here, we specify 4 conditions:
225225
- `node`: Used when the library is imported in Node.js.
226226
- `default`: Fallback used when the library is imported in an environment that doesn't support the other conditions.
227227

228-
One thing to note is that TypeScript may need to be configured to resolve to the appropriate condition. It's pre-configured for React Native apps, but in other scenarios, it maybe necessary to specify `customConditions` in the `tsconfig.json` file:
228+
One thing to note is that TypeScript may need to be configured to resolve to the appropriate condition. It's pre-configured for React Native apps, but in other scenarios, it maybe necessary to specify [`customConditions`](https://www.typescriptlang.org/tsconfig/#customConditions) in the `tsconfig.json` file:
229229

230230
```json
231231
{

0 commit comments

Comments
 (0)