Skip to content

Commit

Permalink
refactor: inline the tsr-config inside vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanCassiere committed Jul 4, 2024
1 parent 98b09b4 commit 5df9a16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ export default defineConfig(() => {
return {
plugins: [
TanStackRouterVite({
routesDirectory: "./src/routes",
generatedRouteTree: "./src/route-tree.gen.ts",
routeFileIgnorePrefix: "-",
quoteStyle: "double",
experimental: {
enableCodeSplitting: true,
},
Expand Down

0 comments on commit 5df9a16

Please sign in to comment.