sveltekit_shim_env.ts view source
(dev: boolean, mode: "static" | "dynamic", visibility: "public" | "private", public_prefix?: string, private_prefix?: string, env_dir?: string | undefined, env_files?: string[] | undefined, ambient_env?: Record<...> | undefined): string Generates a module shim for SvelteKit's $env imports.
dev
type
booleanmode
type
"static" | "dynamic"visibility
type
"public" | "private"public_prefix
type
string default
'PUBLIC_'private_prefix
type
string default
''env_dir?
type
string | undefinedoptional
env_files?
type
string[] | undefinedoptional
ambient_env?
type
Record<string, string | undefined> | undefinedoptional
returns
string