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

1 line
6.9 KiB
Plaintext
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
{"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,kB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