securityos/node_modules/next/dist/build/babel/loader/get-config.js.map

1 line
7.1 KiB
Plaintext
Raw Normal View History

2024-09-06 15:32:35 +00:00
{"version":3,"sources":["../../../../src/build/babel/loader/get-config.ts"],"names":["getConfig","nextDistPath","fileExtensionRegex","getCacheCharacteristics","loaderOptions","source","filename","isServer","pagesDir","isPageFile","startsWith","isNextDist","test","hasModuleExports","indexOf","fileExt","exec","getPlugins","cacheCharacteristics","hasReactRefresh","development","applyCommonJsItem","createConfigItem","require","type","reactRefreshItem","skipEnvCheck","pageConfigItem","disallowExportAllItem","transformDefineItem","resolve","nextSsgItem","commonJsItem","nextFontUnsupported","filter","Boolean","isJsonFile","isJsFile","getCustomBabelConfig","configFilePath","babelConfigRaw","readFileSync","JSON5","parse","Error","babelConfigWarned","checkCustomBabelConfigDeprecation","config","Object","keys","length","plugins","presets","otherOptions","isPresetReadyToDeprecate","pluginReasons","unsupportedPlugins","Array","isArray","plugin","pluginName","push","Log","warn","join","getFreshConfig","target","inputSourceMap","hasJsxRuntime","configFile","customConfig","undefined","options","babelrc","cloneInputAst","sourceMaps","sourceMap","sourceFileName","env","overrides","caller","name","supportsStaticESM","supportsDynamicImport","supportsTopLevelAwait","isDev","defineProperty","enumerable","writable","value","reason","emitWarning","loadedOptions","loadOptions","consumeIterator","loadConfig","getCacheKey","flags","configCache","Map","configFiles","Set","addDependency","cacheKey","has","cachedConfig","get","cwd","root","add","info","freshConfig","call","set"],"mappings":";;;;+BAgYA;;;eAAwBA;;;oBAhYK;8DACX;sBAE4B;sEACvB;sBAGS;6DACX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAErB,MAAMC,eACJ;AA6BF,MAAMC,qBAAqB;AAC3B,SAASC,wBACPC,aAAqC,EACrCC,MAAc,EACdC,QAAgB;QAMAJ;IAJhB,MAAM,EAAEK,QAAQ,EAAEC,QAAQ,EAAE,GAAGJ;IAC/B,MAAMK,aAAaH,SAASI,UAAU,CAACF;IACvC,MAAMG,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