@absolutejs/absolute 0.19.0-beta.715 → 0.19.0-beta.717

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/index.js CHANGED
@@ -45704,7 +45704,7 @@ ${content.slice(firstUseIdx)}`;
45704
45704
  outdir: buildPath,
45705
45705
  plugins: [
45706
45706
  stylePreprocessorPlugin2,
45707
- ...angularDir && !isDev2 ? [angularLinkerPlugin] : [],
45707
+ ...angularDir ? [angularLinkerPlugin] : [],
45708
45708
  ...htmlScriptPlugin ? [htmlScriptPlugin] : []
45709
45709
  ],
45710
45710
  root: clientRoot,
@@ -45723,7 +45723,7 @@ ${content.slice(firstUseIdx)}`;
45723
45723
  outdir: buildPath,
45724
45724
  plugins: [
45725
45725
  stylePreprocessorPlugin2,
45726
- ...angularDir && !isDev2 ? [angularLinkerPlugin] : []
45726
+ ...angularDir ? [angularLinkerPlugin] : []
45727
45727
  ],
45728
45728
  root: islandEntryResult.generatedRoot,
45729
45729
  splitting: !isDev2,
@@ -49458,9 +49458,19 @@ var toSafeFileName5 = (specifier) => specifier.replace(/\//g, "_").replace(/@/g,
49458
49458
  }
49459
49459
  return paths;
49460
49460
  }, computeDepVendorPaths = async (directories) => {
49461
- const specifiers = await scanBareImports(directories);
49461
+ const initialSpecs = await scanBareImports(directories);
49462
+ const allSpecs = new Set(initialSpecs);
49463
+ let frontier = allSpecs;
49464
+ for (let pass = 0;pass < MAX_VENDOR_DISCOVERY_PASSES; pass++) {
49465
+ const additional = await collectTransitiveImports(frontier, allSpecs);
49466
+ if (additional.size === 0)
49467
+ break;
49468
+ for (const spec of additional)
49469
+ allSpecs.add(spec);
49470
+ frontier = additional;
49471
+ }
49462
49472
  const paths = {};
49463
- for (const specifier of specifiers) {
49473
+ for (const specifier of allSpecs) {
49464
49474
  paths[specifier] = `/vendor/${toSafeFileName5(specifier)}.js`;
49465
49475
  }
49466
49476
  return paths;
@@ -58213,5 +58223,5 @@ export {
58213
58223
  ANGULAR_INIT_TIMEOUT_MS
58214
58224
  };
58215
58225
 
58216
- //# debugId=C5600232735DC36764756E2164756E21
58226
+ //# debugId=FF8AF8196AA3C44A64756E2164756E21
58217
58227
  //# sourceMappingURL=index.js.map