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

1 line
7.1 KiB
Plaintext

{"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,aAAaV,aAAaW,IAAI,CAACN;IACrC,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