diff --git a/package.json b/package.json index 3e7cd4f2..fb368cc0 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "vite build", "watch": "vite build --watch", - "dist": "pnpm clean && pnpm install && vite build && tsc", + "dist": "pnpm clean && pnpm install && vite build && tsc --emitDeclarationOnly", "dev": "vite --config examples/vite.config.mjs", "e2e-test": "pnpm build && playwright test --project=chromium", "lint": "biome lint", diff --git a/tsconfig.json b/tsconfig.json index ce281b11..e71ebaaa 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,6 @@ "strict": true, "declaration": true, "declarationDir": "./dist", - "emitDeclarationOnly": true, "strictNullChecks": true, "importHelpers": true, "moduleResolution": "Bundler", diff --git a/vite.config.mjs b/vite.config.mjs index 6c85a7a0..7beac4dc 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -1,4 +1,3 @@ -import { execSync } from 'node:child_process' import { resolve } from 'node:path' import { defineConfig } from 'vite' import pkg from './package.json'