Rocky_Mountain_Vending/.pnpm-store/v10/files/77/5dcfd55ce168140d3ae19993c3541b4fcb4a4c2c49da3889292d8025a4025d112469dd845ac77e6782545d6fc95832386a6dc382a3b320d043809aac91ec85
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

88 lines
2.2 KiB
Text

// -- Unbuild CommonJS Shims --
import __cjs_url__ from 'url';
import __cjs_path__ from 'path';
import __cjs_mod__ from 'module';
const __filename = __cjs_url__.fileURLToPath(import.meta.url);
const __dirname = __cjs_path__.dirname(__filename);
const require = __cjs_mod__.createRequire(import.meta.url);
const version = "2.0.2";
const nodeCompatModules = [
"_stream_duplex",
"_stream_passthrough",
"_stream_readable",
"_stream_transform",
"_stream_writable",
"assert",
"assert/strict",
"buffer",
"diagnostics_channel",
"dns",
"dns/promises",
"events",
"net",
"path",
"path/posix",
"path/win32",
"querystring",
"stream",
"stream/consumers",
"stream/promises",
"stream/web",
"string_decoder",
"timers",
"timers/promises",
"url",
"util/types",
"zlib"
];
const hybridNodeCompatModules = [
"async_hooks",
"console",
"crypto",
"module",
"process",
"util"
];
const cloudflare = {
meta: {
name: "unenv:cloudflare",
version,
url: __filename
},
alias: {
// `nodeCompatModules` are implemented in workerd.
// Create aliases to override polyfills defined in based environments.
...Object.fromEntries(
nodeCompatModules.flatMap((p) => [
[p, p],
[`node:${p}`, `node:${p}`]
])
),
// The `node:sys` module is just a deprecated alias for `node:util` which we implemented using a hybrid polyfill
sys: "@cloudflare/unenv-preset/node/util",
"node:sys": "@cloudflare/unenv-preset/node/util",
// `hybridNodeCompatModules` are implemented by the cloudflare preset.
...Object.fromEntries(
hybridNodeCompatModules.flatMap((m) => [
[m, `@cloudflare/unenv-preset/node/${m}`],
[`node:${m}`, `@cloudflare/unenv-preset/node/${m}`]
])
)
},
inject: {
// Setting symbols implemented by workerd to `false` so that `inject`s defined in base presets are not used.
Buffer: false,
global: false,
clearImmediate: false,
setImmediate: false,
console: "@cloudflare/unenv-preset/node/console",
process: "@cloudflare/unenv-preset/node/process"
},
polyfill: ["@cloudflare/unenv-preset/polyfill/performance"],
external: nodeCompatModules.flatMap((p) => [p, `node:${p}`])
};
export { cloudflare };