Rocky_Mountain_Vending/.pnpm-store/v10/files/80/3b7503f82c9d2143a31128daec6a6e48112f8397f2dea647a222292d05f7b62763b380961ab967212c00446fd7125d7391d088646040693ad2e344f8f6851a
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

25 lines
No EOL
786 B
Text

/**
* Proxy the environment to track environment variables keys that
* are accessed during the build.
*
* @param envVars A set to track environment variable keys that are accessed.
* @returns A function that restores the original environment.
*/ export function envProxy(envVars) {
const newEnv = new Proxy(process.env, {
get: (target, key, receiver)=>{
envVars.add(key);
return Reflect.get(target, key, receiver);
},
set: (target, key, value)=>{
return Reflect.set(target, key, value);
}
});
const oldEnv = process.env;
process.env = newEnv;
// Return a function that restores the original environment.
return ()=>{
process.env = oldEnv;
};
}
//# sourceMappingURL=env.js.map