---
title: getGeneratedHostStylesPath
description: >-
  Use a fixed-length lowercase digest so every valid ID fits a filesystem
  filename.
updated_at: '2026-11-19T05:31:22+01:00'
created_at: '2026-09-24T07:12:15+02:00'
symbol:
  kind: function
  name: getGeneratedHostStylesPath
  signatures:
    - >-
      getGeneratedHostStylesPath(hostRegistryPath: string, vaultId: string):
      string
  parameters:
    - name: hostRegistryPath
      type: string
    - name: vaultId
      type: string
  returns:
    type: string
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/vite/src/host-registry.ts#L144
---

# getGeneratedHostStylesPath
