DataDack CloudDataDackcloud
Single-page apps

Deploy Vite in India

Any Vite template, any framework plugin. Detected from vite.config. DataDack detects Vite from your repository and deploys it to Mumbai, Pune and Noida edge PoPs — sub-15ms for Indian users, with DPDP data residency by default.

What we detect for Vite

These are the exact defaults a Vite repository with no configuration receives. Every one is overridable per project and per environment.

Install command
bun install --frozen-lockfile
Build command
bun run build
Output directory
dist
Toolchain
Node 22
Request handling
Static · nothing runs per request

A client-rendered bundle on the edge. Deep links work because every unmatched route resolves to index.html — no 404 on /dashboard/settings.

Three steps, no configuration

  1. 1

    Connect the repository

    Authorise GitHub once and pick your Vite repo. Nothing to install locally, no CLI to log into.

  2. 2

    Vite is detected

    We read the repository, identify Vite, and pre-fill the build: bun run build, publishing dist. Override any of it if your project differs.

  3. 3

    Live on the Indian edge

    Your SPA workload is packaged, uploaded to Mumbai, Pune and Noida PoPs, and served over HTTPS with a certificate we issue and renew for you.

Included on every Vite project

  • A preview URL for every pull request
  • Instant rollback to any build, no rebuild
  • Automatic HTTPS with renewal handled
  • Per-environment variables and secrets
  • Custom domains with wildcard SSL
  • Streaming build and runtime logs
  • Build cache across deploys
  • Monorepo support with a project root

Vite deployment FAQ

Do I need to configure the build command for Vite?

No. DataDack detects Vite and runs bun run build, publishing the dist directory on the Node 22 toolchain. You can override the install command, build command and output directory per project and per environment if your repository differs from the convention.

Where is my Vite app hosted?

In India. Builds run in ap-south-3 and your app is served from Mumbai, Pune and Noida edge PoPs, giving sub-15ms latency to Indian users. Data never leaves Indian jurisdiction, which is what makes DataDack DPDP-compliant by default rather than by configuration.

How are unmatched routes handled for Vite?

Vite builds a single-page app, so every unmatched route resolves to index.html. Deep links like /dashboard/settings load correctly on first request with no rewrite rules to write.

Can I run preview deployments for Vite pull requests?

Yes. Every pull request gets its own isolated preview URL with its own environment variables, and previews can be password-protected or SSO-gated. Instant rollback to any previous build is one click, with no rebuild.

Other single-page apps we deploy

Vite official documentation
Get started

Deploy on sovereign Indian cloud in minutes.

Pick a region, pick an image, hit deploy. No sales call, no lock-in - just sovereign infrastructure at half the AWS price.

🇮🇳 Crafted in India · Trusted Globally · Noida region live