Skip to content

Commit

Permalink
docs: add information about tsconfig option (#1051)
Browse files Browse the repository at this point in the history
  • Loading branch information
isuvorov committed Mar 20, 2024
1 parent 83c7c7f commit 00188a0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/README.md
Expand Up @@ -597,6 +597,16 @@ await build({

For all available options for the `build` function, please see [the API docs](https://paka.dev/npm/tsup).

### Using custom tsconfig.json

You can also use custom tsconfig.json file configurations by using the `--tsconfig` flag:

```bash
tsup --tsconfig tsconfig.prod.json
```

By default, tsup try to find the `tsconfig.json` file in the current directory, if it's not found, it will use the default tsup config.

## Troubleshooting

### error: No matching export in "xxx.ts" for import "xxx"
Expand Down

0 comments on commit 00188a0

Please sign in to comment.