Rocky_Mountain_Vending/.pnpm-store/v10/files/b2/fe683633191a01d770b69a9c2c14384d0e63c9fd5f29342e385b08ea2152eb1d60d72aaf2a0a62ff8e260dc1cb6dc318f621dac6e9b219a5e65802e438e045
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

1 line
No EOL
3.1 KiB
Text

{"version":3,"sources":["../../../../src/build/webpack/loaders/next-edge-function-loader.ts"],"sourcesContent":["import type webpack from 'webpack'\nimport { getModuleBuildInfo } from './get-module-build-info'\nimport { stringifyRequest } from '../stringify-request'\nimport type { ProxyConfig } from '../../analysis/get-page-static-info'\n\nexport type EdgeFunctionLoaderOptions = {\n absolutePagePath: string\n page: string\n rootDir: string\n preferredRegion: string | string[] | undefined\n middlewareConfig: string\n}\n\nconst nextEdgeFunctionLoader: webpack.LoaderDefinitionFunction<EdgeFunctionLoaderOptions> =\n function nextEdgeFunctionLoader(this) {\n const {\n absolutePagePath,\n page,\n rootDir,\n preferredRegion,\n middlewareConfig: middlewareConfigBase64,\n }: EdgeFunctionLoaderOptions = this.getOptions()\n const stringifiedPagePath = stringifyRequest(this, absolutePagePath)\n const buildInfo = getModuleBuildInfo(this._module as any)\n const middlewareConfig: ProxyConfig = JSON.parse(\n Buffer.from(middlewareConfigBase64, 'base64').toString()\n )\n buildInfo.route = {\n page: page || '/',\n absolutePagePath,\n preferredRegion,\n middlewareConfig,\n }\n buildInfo.nextEdgeApiFunction = {\n page: page || '/',\n }\n buildInfo.rootDir = rootDir\n\n return `\n import 'next/dist/esm/server/web/globals'\n import { adapter } from 'next/dist/esm/server/web/adapter'\n import { IncrementalCache } from 'next/dist/esm/server/lib/incremental-cache'\n import { wrapApiHandler } from 'next/dist/esm/server/api-utils'\n\n import handler from ${stringifiedPagePath}\n\n if (typeof handler !== 'function') {\n throw new Error('The Edge Function \"pages${page}\" must export a \\`default\\` function');\n }\n\n export default function nHandler (opts) {\n return adapter({\n ...opts,\n IncrementalCache,\n page: ${JSON.stringify(page)},\n handler: wrapApiHandler(${JSON.stringify(page)}, handler),\n })\n }\n `\n }\n\nexport default nextEdgeFunctionLoader\n"],"names":["getModuleBuildInfo","stringifyRequest","nextEdgeFunctionLoader","absolutePagePath","page","rootDir","preferredRegion","middlewareConfig","middlewareConfigBase64","getOptions","stringifiedPagePath","buildInfo","_module","JSON","parse","Buffer","from","toString","route","nextEdgeApiFunction","stringify"],"mappings":"AACA,SAASA,kBAAkB,QAAQ,0BAAyB;AAC5D,SAASC,gBAAgB,QAAQ,uBAAsB;AAWvD,MAAMC,yBACJ,SAASA;IACP,MAAM,EACJC,gBAAgB,EAChBC,IAAI,EACJC,OAAO,EACPC,eAAe,EACfC,kBAAkBC,sBAAsB,EACzC,GAA8B,IAAI,CAACC,UAAU;IAC9C,MAAMC,sBAAsBT,iBAAiB,IAAI,EAAEE;IACnD,MAAMQ,YAAYX,mBAAmB,IAAI,CAACY,OAAO;IACjD,MAAML,mBAAgCM,KAAKC,KAAK,CAC9CC,OAAOC,IAAI,CAACR,wBAAwB,UAAUS,QAAQ;IAExDN,UAAUO,KAAK,GAAG;QAChBd,MAAMA,QAAQ;QACdD;QACAG;QACAC;IACF;IACAI,UAAUQ,mBAAmB,GAAG;QAC9Bf,MAAMA,QAAQ;IAChB;IACAO,UAAUN,OAAO,GAAGA;IAEpB,OAAO,CAAC;;;;;;4BAMgB,EAAEK,oBAAoB;;;mDAGC,EAAEN,KAAK;;;;;;;oBAOtC,EAAES,KAAKO,SAAS,CAAChB,MAAM;sCACL,EAAES,KAAKO,SAAS,CAAChB,MAAM;;;IAGzD,CAAC;AACH;AAEF,eAAeF,uBAAsB","ignoreList":[0]}