Open sushoucanyuan opened 1 year ago
[ ] plugin-vue
[X] plugin-vue-jsx
According to the existing code:
const filter = createFilter(include || /\.[jt]sx$/, exclude) ... if (filter(id) || filter(filepath)) {
We cannot exclude files by querying strings, for example /\?xxx$/
/\?xxx$/
Change the code to
const includeFilter = createFilter(include || /\.[jt]sx$/) const excludeFilter = createFilter('**',exclude) ... if((includeFilter(id) || includeFilter(filepath)) && excludeFilter(id) && excludeFilter(filepath)){
No response
PR welcome
Related plugins
[ ] plugin-vue
[X] plugin-vue-jsx
Description
According to the existing code:
We cannot exclude files by querying strings, for example
/\?xxx$/
Suggested solution
Change the code to
Alternative
No response
Additional context
No response
Validations