mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-09-22 02:27:07 +00:00
fix generated type path
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
import { execSync } from "node:child_process";
|
||||
|
||||
import fs from "node:fs";
|
||||
try {
|
||||
fs.rmSync("./_types", { recursive: true, force: true });
|
||||
console.log("[Postbuild] Generating type definitions for fallback...");
|
||||
execSync("npx tsc -p tsconfig.types.json", { stdio: "inherit" });
|
||||
console.log("[Postbuild] Type definitions generated successfully.");
|
||||
|
||||
Reference in New Issue
Block a user