Skip to content

Commit 9fee379

Browse files
committed
chore: fix filter
1 parent 33b8a6c commit 9fee379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite-plugin-svelte/src/plugins/preprocess.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function preprocess(api) {
4545
// @ts-expect-error force set undefined to clear memory
4646
preprocessSvelte = undefined;
4747
// @ts-expect-error defined below but filter not in type
48-
plugin.transform.filter = /$./; // never match
48+
plugin.transform.filter = { id: /$./ }; // never match
4949
}
5050
},
5151
configureServer(server) {

0 commit comments

Comments
 (0)