@absolutejs/absolute 0.19.0-beta.715 → 0.19.0-beta.716
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build.js +13 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +13 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -49381,9 +49381,19 @@ var toSafeFileName5 = (specifier) => specifier.replace(/\//g, "_").replace(/@/g,
|
|
|
49381
49381
|
}
|
|
49382
49382
|
return paths;
|
|
49383
49383
|
}, computeDepVendorPaths = async (directories) => {
|
|
49384
|
-
const
|
|
49384
|
+
const initialSpecs = await scanBareImports(directories);
|
|
49385
|
+
const allSpecs = new Set(initialSpecs);
|
|
49386
|
+
let frontier = allSpecs;
|
|
49387
|
+
for (let pass = 0;pass < MAX_VENDOR_DISCOVERY_PASSES; pass++) {
|
|
49388
|
+
const additional = await collectTransitiveImports(frontier, allSpecs);
|
|
49389
|
+
if (additional.size === 0)
|
|
49390
|
+
break;
|
|
49391
|
+
for (const spec of additional)
|
|
49392
|
+
allSpecs.add(spec);
|
|
49393
|
+
frontier = additional;
|
|
49394
|
+
}
|
|
49385
49395
|
const paths = {};
|
|
49386
|
-
for (const specifier of
|
|
49396
|
+
for (const specifier of allSpecs) {
|
|
49387
49397
|
paths[specifier] = `/vendor/${toSafeFileName5(specifier)}.js`;
|
|
49388
49398
|
}
|
|
49389
49399
|
return paths;
|
|
@@ -49753,5 +49763,5 @@ export {
|
|
|
49753
49763
|
build
|
|
49754
49764
|
};
|
|
49755
49765
|
|
|
49756
|
-
//# debugId=
|
|
49766
|
+
//# debugId=9E5578DF152AD2CB64756E2164756E21
|
|
49757
49767
|
//# sourceMappingURL=build.js.map
|