Skip to content

Commit

Permalink
docs(plugin-vue-jsx): update the options (#8496)
Browse files Browse the repository at this point in the history
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Tony Trinh <tony19@gmail.com>
  • Loading branch information
3 people authored Jun 8, 2022
1 parent 164f528 commit 0826f7b
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion packages/plugin-vue-jsx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,23 @@ export default {

## Options

See [@vue/babel-plugin-jsx](https://github.com/vuejs/jsx-next).
### include

Type: `(string | RegExp)[] | string | RegExp | null`

Default: `/\.[jt]sx$/`

A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files the plugin should operate on.

### exclude

Type: `(string | RegExp)[] | string | RegExp | null`

Default: `undefined`

A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files to be ignored by the plugin.

> See [@vue/babel-plugin-jsx](https://github.com/vuejs/jsx-next) for other options.
## HMR Detection

Expand Down

0 comments on commit 0826f7b

Please sign in to comment.