---
title: SvartzVitePluginOptions
updated_at: '2026-11-20T19:32:31+01:00'
created_at: '2026-03-07T03:07:52+01:00'
symbol:
  kind: interface
  name: SvartzVitePluginOptions
  signatures:
    - interface SvartzVitePluginOptions
  members:
    - name: config
      kind: property
      signature: 'readonly config: [[reference/api/core/ResolvedConfig|ResolvedConfig]]'
    - name: mode
      kind: property
      signature: 'readonly mode?: string'
    - name: env
      kind: property
      signature: 'readonly env?: Readonly<Record<string, string>>'
    - name: projectRoot
      kind: property
      signature: 'readonly projectRoot?: string'
      description: >-
        Directory holding `svartz.config.ts`. Themes and Wrangler resolve from
        it, and the dev server looks for a Wrangler config in it.
      default: the Vite root
    - name: wranglerDir
      kind: property
      signature: 'readonly wranglerDir?: string'
      description: >-
        Directory holding the Wrangler config the dev server reads bindings
        from, when it isn't `projectRoot`.
    - name: exposeVirtualModules
      kind: property
      signature: 'readonly exposeVirtualModules?: boolean'
      description: >-
        Disable singleton virtual aliases when several vault plugins share one
        host.
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/vite/src/options.ts#L3
description: ''
---

# SvartzVitePluginOptions
