Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(plugin-vue-jsx): update the options #8496

Merged
merged 9 commits into from
Jun 8, 2022
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`

kakachake marked this conversation as resolved.
Show resolved Hide resolved
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