u/FuzzySupport4661

Hi everyone,

I built a project using Lovable, which generated a TanStack-based app. After finishing it, I pushed the code to GitHub and cloned it locally to deploy.

I tried hosting it on Firebase. When I run:

npm run build

it generates a dist folder with this structure:

dist/ client/ assets/ index-xxxxx.js server/

The issue is that I can’t find an index.html file anywhere in the build output.

Because of this, I’m not sure how to properly deploy it on Firebase Hosting or platforms like Vercel.

Is this expected for a TanStack app?

Do I need to configure the build differently or use a different deployment approach (like SSR hosting instead of static hosting)?

Any guidance would really help 🙏

reddit.com
u/FuzzySupport4661 — 12 days ago

Hi everyone,

I built a project using Lovable, which generated a TanStack-based app. After finishing it, I pushed the code to GitHub and cloned it locally to deploy.

I tried hosting it on Firebase. When I run:

npm run build

it generates a dist folder with this structure:

dist/ client/ assets/ index-xxxxx.js server/

The issue is that I can’t find an index.html file anywhere in the build output.

Because of this, I’m not sure how to properly deploy it on Firebase Hosting or platforms like Vercel.

Is this expected for a TanStack app?

Do I need to configure the build differently or use a different deployment approach (like SSR hosting instead of static hosting)?

Any guidance would really help 🙏

reddit.com
u/FuzzySupport4661 — 12 days ago