From bd36e2190ff606bb23fe8fad6276432c04577f94 Mon Sep 17 00:00:00 2001 From: YummYume Date: Mon, 4 Mar 2024 00:11:37 +0100 Subject: [PATCH] Fix type generation and build --- .changeset/tall-fishes-listen.md | 5 +++++ tsconfig.json | 2 +- tsup.config.ts | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changeset/tall-fishes-listen.md diff --git a/.changeset/tall-fishes-listen.md b/.changeset/tall-fishes-listen.md new file mode 100644 index 0000000..b7539e8 --- /dev/null +++ b/.changeset/tall-fishes-listen.md @@ -0,0 +1,5 @@ +--- +"bun-stimulus-plugin": minor +--- + +Fix type generation and build. diff --git a/tsconfig.json b/tsconfig.json index 4be6e23..4b9db49 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "moduleDetection": "force", "allowImportingTsExtensions": true, "noEmit": true, - "composite": true, + "composite": false, "strict": true, "downlevelIteration": true, "skipLibCheck": true, diff --git a/tsup.config.ts b/tsup.config.ts index 8feee75..882e255 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -3,4 +3,7 @@ import { defineConfig } from 'tsup'; export default defineConfig({ entry: ['src/index.ts'], format: ['cjs', 'esm'], + dts: { + banner: '/// ', + }, });