diff --git a/src/renderer/tsconfig.json b/src/renderer/tsconfig.json index ff337fc..5380f26 100644 --- a/src/renderer/tsconfig.json +++ b/src/renderer/tsconfig.json @@ -12,5 +12,6 @@ "esModuleInterop": true, "lib": ["esnext", "dom"] }, - "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"] + "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], + "references": [{ "path": "./tsconfig.node.json" }] } diff --git a/src/renderer/tsconfig.node.json b/src/renderer/tsconfig.node.json new file mode 100644 index 0000000..e993792 --- /dev/null +++ b/src/renderer/tsconfig.node.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "composite": true, + "module": "esnext", + "moduleResolution": "node" + }, + "include": ["vite.config.ts"] +}