From 39d3fc4748624f63cf5821a2af3da1062558c901 Mon Sep 17 00:00:00 2001 From: db123 Date: Mon, 27 Apr 2026 00:09:57 +0330 Subject: [PATCH] chore: added raw tsc builds too --- package.json | 3 ++- tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f9ae5a4..759374f 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ ], "scripts": { "dev": "vite build --watch", - "build": "tsc && vite build", + "build": "tsc --emitDeclarationOnly && vite build", + "build:raw": "tsc", "test": "vitest run", "test:watch": "vitest", "lint": "eslint . --ext .ts", diff --git a/tsconfig.json b/tsconfig.json index f386aa6..ba43342 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,9 +2,9 @@ "compilerOptions": { "target": "ES2020", "module": "ESNext", + "moduleResolution": "bundler", "strict": true, "declaration": true, - "emitDeclarationOnly": true, "outDir": "./dist", "rootDir": "./src", "esModuleInterop": true,