Skip to content

Commit

Permalink
Merge pull request #153 from enesTufekci/custom-tsconfig-update-readme
Browse files Browse the repository at this point in the history
Update Readme: Custom tsconfig flag
  • Loading branch information
swyxio authored Jun 20, 2019
2 parents 460d769 + eef0b31 commit 7b00e51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,15 @@ Options
--target Specify your target environment (default web)
--name Specify name exposed in UMD builds
--format Specify module format(s) (default cjs,esm)
--tsconfig Specify your custom tsconfig path (default <root-folder>/tsconfig.json)
-h, --help Displays this message

Examples
$ tsdx watch --entry src/foo.tsx
$ tsdx watch --target node
$ tsdx watch --name Foo
$ tsdx watch --format cjs,esm,umd
$ tsdx build --tsconfig ./tsconfig.foo.json
```

### `tsdx build`
Expand All @@ -305,13 +307,15 @@ Options
--target Specify your target environment (default web)
--name Specify name exposed in UMD builds
--format Specify module format(s) (default cjs,esm)
--tsconfig Specify your custom tsconfig path (default <root-folder>/tsconfig.json)
-h, --help Displays this message

Examples
$ tsdx build --entry src/foo.tsx
$ tsdx build --target node
$ tsdx build --name Foo
$ tsdx build --format cjs,esm,umd
$ tsdx build --tsconfig ./tsconfig.foo.json
```

### `tsdx test`
Expand Down

0 comments on commit 7b00e51

Please sign in to comment.