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 <[email protected]>
Co-authored-by: Tony Trinh <[email protected]>
  • Loading branch information
3 people authored Jun 8, 2022
1 parent 0b7023b commit 33b0ea6
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 33b0ea6

Please sign in to comment.