Skip to content

Commit

Permalink
fix: build exports only whats needed
Browse files Browse the repository at this point in the history
Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com>
  • Loading branch information
iamnewton committed Nov 13, 2024
1 parent f23cea5 commit c19e2db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bootstrap/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules", "**/*.test.ts", "**/*.tsx"]
"exclude": ["node_modules", "public", "**/*.test.ts", "**/*.tsx"]
}
1 change: 1 addition & 0 deletions packages/bootstrap/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default defineConfig({
uploadToken: process.env.CODECOV_TOKEN,
}),
],
publicDir: false,
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"), // Example alias, adjust as needed
Expand Down

0 comments on commit c19e2db

Please sign in to comment.