---
title: isSvelteKit3
description: >-
  Whether the app in `root` installs SvelteKit 3 or later. Its options can't
  tell: SvelteKit 2.62 and later also take them in `sveltekit({ … })`. An app
  without a resolvable SvelteKit counts as SvelteKit 2, whose behaviour Svartz
  assumed before SvelteKit 3.
updated_at: '2026-11-19T05:31:22+01:00'
created_at: '2026-09-24T07:12:15+02:00'
symbol:
  kind: function
  name: isSvelteKit3
  signatures:
    - 'isSvelteKit3(root: string): boolean'
  parameters:
    - name: root
      type: string
  returns:
    type: boolean
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/vite/src/host-registry.ts#L208
---

# isSvelteKit3
