@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/build.js CHANGED
@@ -45512,7 +45512,7 @@ ${content.slice(firstUseIdx)}`;
45512
45512
  outdir: buildPath,
45513
45513
  plugins: [
45514
45514
  stylePreprocessorPlugin2,
45515
- ...angularDir && !isDev ? [angularLinkerPlugin] : [],
45515
+ ...angularDir ? [angularLinkerPlugin] : [],
45516
45516
  ...htmlScriptPlugin ? [htmlScriptPlugin] : []
45517
45517
  ],
45518
45518
  root: clientRoot,
@@ -45531,7 +45531,7 @@ ${content.slice(firstUseIdx)}`;
45531
45531
  outdir: buildPath,
45532
45532
  plugins: [
45533
45533
  stylePreprocessorPlugin2,
45534
- ...angularDir && !isDev ? [angularLinkerPlugin] : []
45534
+ ...angularDir ? [angularLinkerPlugin] : []
45535
45535
  ],
45536
45536
  root: islandEntryResult.generatedRoot,
45537
45537
  splitting: !isDev,
@@ -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 specifiers = await scanBareImports(directories);
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 specifiers) {
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=3B3195FA2C1847A964756E2164756E21
49766
+ //# debugId=9728DFD0605A936564756E2164756E21
49757
49767
  //# sourceMappingURL=build.js.map