{ // The Node-side modules (src/node/) and the Vite plugin (src/vite/): Node's globals and // node:* modules, no DOM. They ship as dist/node/*.js; their public types stay Node-free // (pack-check proves it). // scripts/*.mjs import them as .ts under Node's type stripping, which only erases: // erasableSyntaxOnly and verbatimModuleSyntax hold them to that. "extends": "./tsconfig.json", "compilerOptions": { "lib": ["ES2022"], "types": ["node"], "erasableSyntaxOnly": true, "verbatimModuleSyntax": true }, "include": ["src/node", "src/vite"], "exclude": [] }