Skip to content

Commit

Permalink
multi-entry: temporarily change docs to singular "module" (#862)
Browse files Browse the repository at this point in the history
- multi-entry is not currently supported due to a bug, PR to fix has yet to be merged
- so modify docs that suggest it is supported from plural "Entry module(s)" to singular

I spent ten minutes with adding globs and comma-separated paths before giving up going into the issues and searching/finding the bug and PR to fix the bug

Maybe delete the `(s)` until the issue is resolved to prevent other people from doing the same. :)
  • Loading branch information
KATT authored Sep 18, 2020
1 parent d996a0e commit ac98a73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ Usage
$ tsdx watch [options]

Options
-i, --entry Entry module(s)
-i, --entry Entry module
--target Specify your target environment (default web)
--name Specify name exposed in UMD builds
--format Specify module format(s) (default cjs,esm)
Expand Down Expand Up @@ -457,7 +457,7 @@ Usage
$ tsdx build [options]
Options
-i, --entry Entry module(s)
-i, --entry Entry module
--target Specify your target environment (default web)
--name Specify name exposed in UMD builds
--format Specify module format(s) (default cjs,esm)
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ prog
prog
.command('watch')
.describe('Rebuilds on any change')
.option('--entry, -i', 'Entry module(s)')
.option('--entry, -i', 'Entry module')
.example('watch --entry src/foo.tsx')
.option('--target', 'Specify your target environment', 'browser')
.example('watch --target node')
Expand Down Expand Up @@ -363,7 +363,7 @@ prog
prog
.command('build')
.describe('Build your project once and exit')
.option('--entry, -i', 'Entry module(s)')
.option('--entry, -i', 'Entry module')
.example('build --entry src/foo.tsx')
.option('--target', 'Specify your target environment', 'browser')
.example('build --target node')
Expand Down

1 comment on commit ac98a73

@vercel
Copy link

@vercel vercel bot commented on ac98a73 Sep 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.