mirror of
https://github.com/developit/microbundle.git
synced 2026-01-18 13:56:35 +00:00
update the --jsx description
This commit is contained in:
parent
61797e58a5
commit
bb4173f55b
@ -75,7 +75,7 @@ Just like `microbundle build`, but watches your source files and rebuilds on any
|
||||
--cwd Use an alternative working directory (default .)
|
||||
--sourcemap Generate source map (default true)
|
||||
-h, --help Displays this message
|
||||
--jsx Support building React Component (--jsx React.createElement)
|
||||
--jsx A custom JSX pragma like React.createElement (default: h)
|
||||
```
|
||||
### Specifying builds in `package.json`
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@ export default handler => {
|
||||
.option('--name', 'Specify name exposed in UMD builds')
|
||||
.option('--cwd', 'Use an alternative working directory', '.')
|
||||
.option('--sourcemap', 'Generate source map', true)
|
||||
.option('--jsx', 'Support jsx like --jsx React.createElement');
|
||||
.option('--jsx', 'A custom JSX pragma like React.createElement (default: h)');
|
||||
|
||||
prog
|
||||
.command('build [...entries]', '', { default: true })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user