Rocky_Mountain_Vending/.pnpm-store/v10/files/c1/1c7805f3b1fe5d34afc332cd2ca95fbe5b600f9920533fd6e851df73d2d1995655ad674274e46b9dcb955dfdfafa1ae4f408d0a53274fc46b424fde3c1760a
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
5.6 KiB
Text

{"version":3,"sources":["../../../../src/build/webpack/plugins/devtools-ignore-list-plugin.ts"],"sourcesContent":["// Source: https://github.com/mondaychen/devtools-ignore-webpack-plugin/blob/e35ce41d9606a92a455ef247f509a1c2ccab5778/src/index.ts\n\nimport { webpack } from 'next/dist/compiled/webpack/webpack'\n\n// Following the naming conventions from\n// https://tc39.es/source-map/#source-map-format\nconst IGNORE_LIST = 'ignoreList'\n\nconst PLUGIN_NAME = 'devtools-ignore-plugin'\n\ninterface SourceMap {\n sources: string[]\n [IGNORE_LIST]: number[]\n}\n\ninterface PluginOptions {\n shouldIgnorePath?: (path: string) => boolean\n isSourceMapAsset?: (name: string) => boolean\n}\n\ninterface ValidatedOptions extends PluginOptions {\n shouldIgnorePath: Required<PluginOptions>['shouldIgnorePath']\n isSourceMapAsset: Required<PluginOptions>['isSourceMapAsset']\n}\n\nfunction defaultShouldIgnorePath(path: string): boolean {\n return path.includes('/node_modules/') || path.includes('/webpack/')\n}\n\nfunction defaultIsSourceMapAsset(name: string): boolean {\n return name.endsWith('.map')\n}\n\nfunction isWebpackRuntimeModule(modulePath: string): boolean {\n // webpack:///webpack/bootstrap\n // webpack://_N_E/webpack/\n // webpack://someOtherLibrary/webpack/\n return /^webpack:\\/\\/([^/]*)\\/webpack/.test(modulePath)\n}\n\n/**\n * This plugin adds a field to source maps that identifies which sources are\n * vendored or runtime-injected (aka third-party) sources. These are consumed by\n * Chrome DevTools to automatically ignore-list sources.\n */\nexport default class DevToolsIgnorePlugin {\n options: ValidatedOptions\n\n constructor(options: PluginOptions = {}) {\n this.options = {\n shouldIgnorePath: options.shouldIgnorePath ?? defaultShouldIgnorePath,\n isSourceMapAsset: options.isSourceMapAsset ?? defaultIsSourceMapAsset,\n }\n }\n\n apply(compiler: webpack.Compiler) {\n const { RawSource } = compiler.webpack.sources\n\n compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {\n compilation.hooks.processAssets.tap(\n {\n name: PLUGIN_NAME,\n stage: webpack.Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING,\n additionalAssets: true,\n },\n (assets) => {\n for (const [name, asset] of Object.entries(assets)) {\n // Instead of using `asset.map()` to fetch the source maps from\n // SourceMapSource assets, process them directly as a RawSource.\n // This is because `.map()` is slow and can take several seconds.\n if (!this.options.isSourceMapAsset(name)) {\n // Ignore non source map files.\n continue\n }\n\n const mapContent = asset.source().toString()\n if (!mapContent) {\n continue\n }\n\n const sourcemap = JSON.parse(mapContent) as SourceMap\n\n const ignoreList = []\n for (const [index, path] of sourcemap.sources.entries()) {\n if (this.options.shouldIgnorePath(path)) {\n ignoreList.push(index)\n } else if (isWebpackRuntimeModule(path)) {\n // Just like our EvalSourceMapDevToolPlugin ignore-lists Webpack\n // runtime by default, we do the same here.\n ignoreList.push(index)\n }\n }\n\n sourcemap[IGNORE_LIST] = ignoreList\n compilation.updateAsset(\n name,\n new RawSource(JSON.stringify(sourcemap))\n )\n }\n }\n )\n })\n }\n}\n"],"names":["webpack","IGNORE_LIST","PLUGIN_NAME","defaultShouldIgnorePath","path","includes","defaultIsSourceMapAsset","name","endsWith","isWebpackRuntimeModule","modulePath","test","DevToolsIgnorePlugin","constructor","options","shouldIgnorePath","isSourceMapAsset","apply","compiler","RawSource","sources","hooks","compilation","tap","processAssets","stage","Compilation","PROCESS_ASSETS_STAGE_DEV_TOOLING","additionalAssets","assets","asset","Object","entries","mapContent","source","toString","sourcemap","JSON","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