Skip to content

Commit f693e30

Browse files
committed
perf: native filter quansync keyword
1 parent 25ceb46 commit f693e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ export const Quansync: UnpluginInstance<Options | undefined, false> =
1717
include: options.include,
1818
exclude: options.exclude,
1919
},
20+
code: 'quansync',
2021
},
2122
handler(code, id) {
22-
if (!code.includes('quansync')) return
2323
return transformQuansync(code, id)
2424
},
2525
},

0 commit comments

Comments
 (0)