From a34f3bccee39782090ac171f53619c47b75cd693 Mon Sep 17 00:00:00 2001 From: michealroberts Date: Fri, 10 Jan 2025 09:56:17 +0000 Subject: [PATCH] chore: amend tsup.config.ts configuration in workspace root in @observerly/fits chore: amend tsup.config.ts configuration in workspace root in @observerly/fits --- package.json | 2 +- tsup.config.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 12957d5..5000829 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "packageManager": "pnpm@8.10.2", "scripts": { "dev": "vite", - "build": "tsc --noEmit && vite build", + "build": "tsup", "format": "npx @biomejs/biome format --write", "lint": "npx @biomejs/biome lint --write", "preview": "vite preview", diff --git a/tsup.config.ts b/tsup.config.ts index 0f1cdf6..dd0b255 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -14,6 +14,7 @@ export default defineConfig({ entry: ['src/index.ts'], format: ['cjs', 'esm'], dts: true, + minify: true, splitting: false, sourcemap: true, treeshake: true,