@absolutejs/absolute 0.19.0-beta.156 → 0.19.0-beta.157

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
@@ -171819,9 +171819,12 @@ var isDev, extractBuildError = (logs, pass, label, frameworkNames, isIncremental
171819
171819
  const varIdx = content.indexOf(`var ${firstUseName} =`);
171820
171820
  if (varIdx > 0) {
171821
171821
  const before = content.slice(0, varIdx);
171822
- const commentMatch = before.match(/\/\/\s*(src\/[^\n]*\.js)\s*\n[^/]*$/);
171823
- if (commentMatch?.[1]) {
171824
- const srcPath = resolve11(projectRoot, commentMatch[1].replace("/client/", "/").replace(/\.js$/, ".ts"));
171822
+ const allComments = [
171823
+ ...before.matchAll(/\/\/\s*(src\/[^\n]*\.js)\s*\n/g)
171824
+ ];
171825
+ const last = allComments[allComments.length - 1];
171826
+ if (last?.[1]) {
171827
+ const srcPath = resolve11(projectRoot, last[1].replace("/client/", "/").replace(/\.js$/, ".ts"));
171825
171828
  runtimeId = JSON.stringify(srcPath);
171826
171829
  }
171827
171830
  }
@@ -205919,5 +205922,5 @@ export {
205919
205922
  ANGULAR_INIT_TIMEOUT_MS
205920
205923
  };
205921
205924
 
205922
- //# debugId=EF82615725380F1B64756E2164756E21
205925
+ //# debugId=A3BB3F9FF16B6A4F64756E2164756E21
205923
205926
  //# sourceMappingURL=index.js.map