use tsx loader for relative imports

This commit is contained in:
Ruben Fiszel
2025-01-16 18:29:33 +01:00
parent 797f46c680
commit 12bc86fe2c
+1 -1
View File
@@ -62,7 +62,7 @@ const p = {
const contents = await req.text();
return {
contents: replaceRelativeImports(contents).contents,
loader: "ts",
loader: "tsx",
};
});