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>
1 line
No EOL
4.1 KiB
Text
1 line
No EOL
4.1 KiB
Text
{"version":3,"sources":["../../../src/build/turbopack-build/index.ts"],"sourcesContent":["import path from 'path'\n\nimport { Worker } from '../../lib/worker'\nimport { NextBuildContext } from '../build-context'\n\nasync function turbopackBuildWithWorker(): ReturnType<\n typeof import('./impl').turbopackBuild\n> {\n try {\n const worker = new Worker(path.join(__dirname, 'impl.js'), {\n exposedMethods: ['workerMain', 'waitForShutdown'],\n enableWorkerThreads: true,\n debuggerPortOffset: -1,\n isolatedMemory: false,\n numWorkers: 1,\n maxRetries: 0,\n forkOptions: {\n env: {\n NEXT_PRIVATE_BUILD_WORKER: '1',\n },\n },\n }) as Worker & typeof import('./impl')\n const {\n nextBuildSpan,\n // Config is not serializable and is loaded in the worker.\n config: _config,\n ...prunedBuildContext\n } = NextBuildContext\n const { buildTraceContext, duration } = await worker.workerMain({\n buildContext: prunedBuildContext,\n })\n\n return {\n // destroy worker when Turbopack has shutdown so it's not sticking around using memory\n // We need to wait for shutdown to make sure filesystem cache is flushed\n shutdownPromise: worker.waitForShutdown().then(() => {\n worker.end()\n }),\n buildTraceContext,\n duration,\n }\n } catch (err: any) {\n // When the error is a serialized `Error` object we need to recreate the `Error` instance\n // in order to keep the consistent error reporting behavior.\n if (err.type === 'Error') {\n const error = new Error(err.message)\n if (err.name) {\n error.name = err.name\n }\n if (err.cause) {\n error.cause = err.cause\n }\n error.message = err.message\n error.stack = err.stack\n throw error\n }\n throw err\n }\n}\n\nexport function turbopackBuild(\n withWorker: boolean\n): ReturnType<typeof import('./impl').turbopackBuild> {\n const nextBuildSpan = NextBuildContext.nextBuildSpan!\n return nextBuildSpan.traceChild('run-turbopack').traceAsyncFn(async () => {\n if (withWorker) {\n return await turbopackBuildWithWorker()\n } else {\n const build = (require('./impl') as typeof import('./impl'))\n .turbopackBuild\n return await build()\n }\n })\n}\n"],"names":["turbopackBuild","turbopackBuildWithWorker","worker","Worker","path","join","__dirname","exposedMethods","enableWorkerThreads","debuggerPortOffset","isolatedMemory","numWorkers","maxRetries","forkOptions","env","NEXT_PRIVATE_BUILD_WORKER","nextBuildSpan","config","_config","prunedBuildContext","NextBuildContext","buildTraceContext","duration","workerMain","buildContext","shutdownPromise","waitForShutdown","then","end","err","type","error","Error","message","name","cause","stack","withWorker","traceChild","traceAsyncFn","build","require"],"mappings":";;;;+BA4DgBA;;;eAAAA;;;6DA5DC;wBAEM;8BACU;;;;;;AAEjC,eAAeC;IAGb,IAAI;QACF,MAAMC,SAAS,IAAIC,cAAM,CAACC,aAAI,CAACC,IAAI,CAACC,WAAW,YAAY;YACzDC,gBAAgB;gBAAC;gBAAc;aAAkB;YACjDC,qBAAqB;YACrBC,oBAAoB,CAAC;YACrBC,gBAAgB;YAChBC,YAAY;YACZC,YAAY;YACZC,aAAa;gBACXC,KAAK;oBACHC,2BAA2B;gBAC7B;YACF;QACF;QACA,MAAM,EACJC,aAAa,EACb,0DAA0D;QAC1DC,QAAQC,OAAO,EACf,GAAGC,oBACJ,GAAGC,8BAAgB;QACpB,MAAM,EAAEC,iBAAiB,EAAEC,QAAQ,EAAE,GAAG,MAAMpB,OAAOqB,UAAU,CAAC;YAC9DC,cAAcL;QAChB;QAEA,OAAO;YACL,sFAAsF;YACtF,wEAAwE;YACxEM,iBAAiBvB,OAAOwB,eAAe,GAAGC,IAAI,CAAC;gBAC7CzB,OAAO0B,GAAG;YACZ;YACAP;YACAC;QACF;IACF,EAAE,OAAOO,KAAU;QACjB,yFAAyF;QACzF,4DAA4D;QAC5D,IAAIA,IAAIC,IAAI,KAAK,SAAS;YACxB,MAAMC,QAAQ,qBAAsB,CAAtB,IAAIC,MAAMH,IAAII,OAAO,GAArB,qBAAA;uBAAA;4BAAA;8BAAA;YAAqB;YACnC,IAAIJ,IAAIK,IAA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