Skip to content

Commit

Permalink
Merge pull request #15 from YummYume/fix/type-generation
Browse files Browse the repository at this point in the history
Fix type generation and build
  • Loading branch information
YummYume authored Mar 3, 2024
2 parents d1d8136 + bd36e21 commit 9751136
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tall-fishes-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bun-stimulus-plugin": minor
---

Fix type generation and build.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"moduleDetection": "force",
"allowImportingTsExtensions": true,
"noEmit": true,
"composite": true,
"composite": false,
"strict": true,
"downlevelIteration": true,
"skipLibCheck": true,
Expand Down
3 changes: 3 additions & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/index.ts'],
format: ['cjs', 'esm'],
dts: {
banner: '/// <reference path="../types/import-definition.d.ts" />',
},
});

0 comments on commit 9751136

Please sign in to comment.