diff --git a/package.json b/package.json index 5657929..4edff6d 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dev": "cross-env DEBUG=taze:* esno ./src/cli.ts", "start": "esno ./src/cli.ts", "build": "unbuild", - "typecheck": "tsc --noEmit", + "typecheck": "tsc", "prepublishOnly": "nr build", "release": "bumpp && pnpm publish --no-git-checks", "test": "vitest" diff --git a/tsconfig.json b/tsconfig.json index 86fb459..207a681 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,17 +1,21 @@ { "compilerOptions": { - "target": "es2018", - "lib": ["esnext"], + "target": "ESNext", + "lib": ["ESNext"], + "moduleDetection": "force", "rootDir": ".", - "module": "esnext", - "moduleResolution": "node", + "module": "ESNext", + "moduleResolution": "Bundler", "paths": { "taze": ["./src/index.ts"] }, "resolveJsonModule": true, "strict": true, "strictNullChecks": true, + "noEmit": true, "esModuleInterop": true, + "isolatedModules": true, + "verbatimModuleSyntax": true, "skipDefaultLibCheck": true, "skipLibCheck": true }