@absolutejs/absolute 0.19.0-beta.826 → 0.19.0-beta.828

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.
@@ -209,8 +209,11 @@ var resolveAngularPackageDir = (specifier) => {
209
209
  return resolvePackageEntry(packageDir);
210
210
  return specifier;
211
211
  }, toSafeVendorName = (specifier) => specifier.replace(/^@/, "").replace(/\//g, "_"), resolveAngularRuntimePath = (specifier) => {
212
- const buildDir = process.env.ABSOLUTE_BUILD_DIR;
213
- if (buildDir) {
212
+ const buildDirs = [
213
+ process.env.ABSOLUTE_BUILD_DIR,
214
+ resolve(process.cwd(), "build")
215
+ ].filter((value) => Boolean(value));
216
+ for (const buildDir of buildDirs) {
214
217
  const vendorPath = join(buildDir, "angular", "vendor", "server", `${toSafeVendorName(specifier)}.js`);
215
218
  if (existsSync(vendorPath))
216
219
  return vendorPath;
@@ -5616,5 +5619,5 @@ export {
5616
5619
  ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER
5617
5620
  };
5618
5621
 
5619
- //# debugId=F154678059FFD13164756E2164756E21
5622
+ //# debugId=CADCACE62BD9DB2664756E2164756E21
5620
5623
  //# sourceMappingURL=server.js.map