securityos/node_modules/next/dist/build/handle-externals.js.map

1 line
6.9 KiB
Plaintext

{"version":3,"sources":["../../src/build/handle-externals.ts"],"names":["isResourceInPackages","resolveExternal","makeExternalHandler","reactPackagesRegex","pathSeparators","optionalEsmPart","externalFileEnd","nextDist","externalPattern","RegExp","resource","packageNames","packageDirMapping","some","p","has","startsWith","get","path","sep","includes","join","replace","dir","esmExternalsConfig","context","request","isEsmRequested","hasAppDir","getResolve","isLocalCallback","baseResolveCheck","esmResolveOptions","NODE_ESM_RESOLVE_OPTIONS","nodeResolveOptions","NODE_RESOLVE_OPTIONS","baseEsmResolveOptions","NODE_BASE_ESM_RESOLVE_OPTIONS","baseResolveOptions","NODE_BASE_RESOLVE_OPTIONS","esmExternals","looseEsmExternals","res","isEsm","preferEsmOptions","preferEsm","resolve","err","localRes","baseRes","baseIsEsm","baseResolve","config","optOutBundlingPackageRegex","resolvedExternalPackageDirs","experimental","handleExternals","dependencyType","layer","isLocal","posix","isAbsolute","process","platform","win32","isAppLayer","isWebpackAppLayer","test","notExternalModules","BARREL_OPTIMIZATION_PREFIX","resolveNextExternal","isExternal","isWebpackServerLayer","WEBPACK_LAYERS","serverSideRendering","isRelative","fullRequest","resolveResult","undefined","defaultOverrides","Error","externalType","transpilePackages","Map","pkg","pkgRes","set","dirname","shouldBeBundled","bundlePagesExternals"],"mappings":";;;;;;;;;;;;;;;;IAwBgBA,oBAAoB;eAApBA;;IAgBMC,eAAe;eAAfA;;IA6FNC,mBAAmB;eAAnBA;;;2BArIe;6BAEE;4BACU;6DAC1B;+BAMV;wBACiD;;;;;;AAExD,MAAMC,qBAAqB;AAE3B,MAAMC,iBAAiB;AACvB,MAAMC,kBAAkB,CAAC,EAAE,EAAED,eAAe,KAAK,EAAEA,eAAe,CAAC,CAAC;AACpE,MAAME,kBAAkB;AACxB,MAAMC,WAAW,CAAC,IAAI,EAAEH,eAAe,IAAI,CAAC;AAE5C,MAAMI,kBAAkB,IAAIC,OAC1B,CAAC,EAAEF,SAA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