Skip to content

Commit 9772307

Browse files
authored
Update createFilter.ts (#18091)
1 parent 650d4ce commit 9772307

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/taro-vite-runner/src/utils/createFilter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ export function createFilterWithCompileOptions(compile: {
8585
if (isFunction(compile.filter)) {
8686
return compile.filter
8787
} else {
88-
let exclude: (string | RegExp)[] = [...defaultInclude]
89-
const include: (string | RegExp)[] = [...defaultExclude]
88+
let exclude: (string | RegExp)[] = [...defaultExclude]
89+
const include: (string | RegExp)[] = [...defaultInclude]
9090
if (Array.isArray(compile.include)) {
9191
include.unshift(...compile.include)
9292
}

0 commit comments

Comments
 (0)