Skip to content

Commit a5e8aa4

Browse files
committed
fix import extension
1 parent dd01ca5 commit a5e8aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vite/observable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export function observable({
117117
const cachePath = await getQueryCachePath(context.filename, cell.database, [value]);
118118
if (!existsSync(cachePath)) {
119119
const args = ["--root", dir, "--database", cell.database, value];
120-
const child = fork(fileURLToPath(import.meta.resolve("../../bin/query.ts")), args);
120+
const child = fork(fileURLToPath(import.meta.resolve("../../bin/query.js")), args);
121121
await new Promise((resolve, reject) => {
122122
child.on("error", reject);
123123
child.on("exit", resolve);

0 commit comments

Comments
 (0)