Skip to content

Commit 33b0ea6

Browse files
kakachakebluwytony19
authored
docs(plugin-vue-jsx): update the options (#8496)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Tony Trinh <tony19@gmail.com>
1 parent 0b7023b commit 33b0ea6

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

packages/plugin-vue-jsx/README.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,23 @@ export default {
1717

1818
## Options
1919

20-
See [@vue/babel-plugin-jsx](https://github.com/vuejs/jsx-next).
20+
### include
21+
22+
Type: `(string | RegExp)[] | string | RegExp | null`
23+
24+
Default: `/\.[jt]sx$/`
25+
26+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files the plugin should operate on.
27+
28+
### exclude
29+
30+
Type: `(string | RegExp)[] | string | RegExp | null`
31+
32+
Default: `undefined`
33+
34+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files to be ignored by the plugin.
35+
36+
> See [@vue/babel-plugin-jsx](https://github.com/vuejs/jsx-next) for other options.
2137
2238
## HMR Detection
2339

0 commit comments

Comments
 (0)