Fix node-pty switch

This commit is contained in:
Quinten Kock 2026-05-03 05:59:10 +02:00
parent 2461667030
commit d81bd4cf88
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import * as pty from "node-pty";
import * as pty from "@lydell/node-pty";
import { getCurrentWorkspaceRoot } from "./fileOperations";
export interface TerminalInstance {

View File

@ -5,11 +5,11 @@ import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [tailwindcss()],
optimizeDeps: {
exclude: ["node-pty"],
exclude: ["@lydell/node-pty"],
},
build: {
rollupOptions: {
external: ["node-pty"],
external: ["@lydell/node-pty"],
},
},
});