From 8bf8b22e57d926f829bb11740f421f8a05408291 Mon Sep 17 00:00:00 2001 From: Shishant Biswas Date: Sat, 28 Feb 2026 23:05:38 +0530 Subject: [PATCH] refactor: remove duplicate tsup build config and clean up --- app/build.ts | 4 ---- examples/tanstack-start/.gitignore | 3 ++- examples/tanstack-start/src/components/List.tsx | 2 +- examples/tanstack-start/src/routes/index.tsx | 6 +++--- examples/tanstack-start/src/routes/ssr.tsx | 6 +++--- examples/tanstack-start/src/styles.css | 2 -- 6 files changed, 9 insertions(+), 14 deletions(-) diff --git a/app/build.ts b/app/build.ts index 7da7832..1ab90ea 100644 --- a/app/build.ts +++ b/app/build.ts @@ -363,10 +363,6 @@ async function buildAdapters() { external: [/^bun\:.*/], }), - tsup.build({ - ...baseConfig("tanstack-start"), - platform: "node", - }), ]); } diff --git a/examples/tanstack-start/.gitignore b/examples/tanstack-start/.gitignore index 1ed63c5..2396459 100644 --- a/examples/tanstack-start/.gitignore +++ b/examples/tanstack-start/.gitignore @@ -12,4 +12,5 @@ count.txt .vinxi todos.json public/uploads -data.db \ No newline at end of file +data.db +src/routeTree.gen.ts \ No newline at end of file diff --git a/examples/tanstack-start/src/components/List.tsx b/examples/tanstack-start/src/components/List.tsx index e2a98c0..5470ac0 100644 --- a/examples/tanstack-start/src/components/List.tsx +++ b/examples/tanstack-start/src/components/List.tsx @@ -1,5 +1,5 @@ export const List = ({ items = [] }: { items: React.ReactNode[] }) => ( -
    +
      {items.map((item, i) => (
    1. {item} diff --git a/examples/tanstack-start/src/routes/index.tsx b/examples/tanstack-start/src/routes/index.tsx index 9e37928..e2123d8 100644 --- a/examples/tanstack-start/src/routes/index.tsx +++ b/examples/tanstack-start/src/routes/index.tsx @@ -72,13 +72,13 @@ function App() { const addTodo = useServerFn(createTodo); return ( -
      +