From 79365dc90e2272c209c68d9c05e3681bebaf0704 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Tue, 28 Dec 2021 14:06:16 +0100 Subject: build: Simplify type declaration generation --- packages/main/package.json | 2 +- packages/main/tsconfig.json | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'packages/main') diff --git a/packages/main/package.json b/packages/main/package.json index 48268fb..b93dec0 100644 --- a/packages/main/package.json +++ b/packages/main/package.json @@ -5,7 +5,7 @@ "main": "dist/index.cjs", "types": "dist-types/index.d.ts", "scripts": { - "clean": "rimraf dist dist-types tsconfig.tsbuildinfo", + "clean": "rimraf dist tsconfig.tsbuildinfo", "build": "vite build", "typecheck": "tsc" }, diff --git a/packages/main/tsconfig.json b/packages/main/tsconfig.json index 2529709..6387562 100644 --- a/packages/main/tsconfig.json +++ b/packages/main/tsconfig.json @@ -1,10 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "composite": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true, - "rootDir": "src", + "noEmit": true, "types": [ "node", "vite/client" -- cgit v1.2.3-70-g09d2