MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / mapMetaEnvToProcessEnv

Function mapMetaEnvToProcessEnv

examples/astro/src/lib/utils.ts:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 * environment when using tools like Vite or Astro that provide `import.meta.env`.
15 */
16export function mapMetaEnvToProcessEnv() {
17 Object.keys(import.meta.env).forEach(key => {
18 process.env[key] = import.meta.env[key];
19 });
20}

Callers 1

onRequestFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected