Skip to content

Commit

Permalink
fix: stories being include in publish
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinHerber committed Dec 20, 2023
1 parent 43f4ebb commit 91eb1e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
"include": [
"src/**/*.ts",
"src/**/*.d.ts"
],
"exclude": [
"src/**/*.stories.ts"
]
}
}
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default defineConfig({
sourceMap: true,
declaration: true,
outDir: 'dist',
exclude: ['**/__tests__'],
exclude: ['**/__tests__', '**/*.stories.ts'],
tsconfig: './tsconfig.build.json',
}),
rawHtml()
Expand Down

0 comments on commit 91eb1e7

Please sign in to comment.