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 committed 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
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.