@absolutejs/absolute 0.19.0-beta.219 → 0.19.0-beta.220

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
@@ -172141,10 +172141,15 @@ ${content.slice(firstUseIdx)}`;
172141
172141
  updateConventionCompiledPaths(conventionsMap.svelte, svelteConventionSources, svelteConvResult.svelteServerPaths);
172142
172142
  updateConventionCompiledPaths(conventionsMap.vue, vueConventionSources, vueConvResult.vueServerPaths);
172143
172143
  }
172144
+ const conventionServerPaths = [
172145
+ ...collectConventionSourceFiles(conventionsMap.svelte),
172146
+ ...collectConventionSourceFiles(conventionsMap.vue)
172147
+ ];
172144
172148
  const serverEntryPoints = [
172145
172149
  ...svelteServerPaths,
172146
172150
  ...vueServerPaths,
172147
- ...angularServerPaths
172151
+ ...angularServerPaths,
172152
+ ...conventionServerPaths
172148
172153
  ];
172149
172154
  const reactClientEntryPoints = [...reactEntries];
172150
172155
  const allFrameworkDirs = [
@@ -172394,12 +172399,25 @@ ${content.slice(firstUseIdx)}`;
172394
172399
  ...cssOutputs
172395
172400
  ], buildPath)
172396
172401
  };
172402
+ const conventionCompiledToBundled = new Map;
172397
172403
  for (const artifact of serverOutputs) {
172398
172404
  const fileWithHash = basename6(artifact.path);
172399
172405
  const [baseName] = fileWithHash.split(`.${artifact.hash}.`);
172400
172406
  if (!baseName)
172401
172407
  continue;
172402
172408
  manifest[toPascal(baseName)] = artifact.path;
172409
+ for (const compiledPath of conventionServerPaths) {
172410
+ const compiledBase = basename6(compiledPath).replace(/\.[^.]+$/, "");
172411
+ if (compiledBase === baseName) {
172412
+ conventionCompiledToBundled.set(compiledPath, artifact.path);
172413
+ }
172414
+ }
172415
+ }
172416
+ if (conventionCompiledToBundled.size > 0) {
172417
+ const compiledPaths = [...conventionCompiledToBundled.keys()];
172418
+ const bundledPaths = compiledPaths.map((p) => conventionCompiledToBundled.get(p) ?? p);
172419
+ updateConventionCompiledPaths(conventionsMap.svelte, compiledPaths, bundledPaths);
172420
+ updateConventionCompiledPaths(conventionsMap.vue, compiledPaths, bundledPaths);
172403
172421
  }
172404
172422
  const htmlOrHtmlCssChanged = !isIncremental || normalizedIncrementalFiles?.some((f) => f.includes("/html/") && (f.endsWith(".html") || f.endsWith(".css")));
172405
172423
  const htmxOrHtmxCssChanged = !isIncremental || normalizedIncrementalFiles?.some((f) => f.includes("/htmx/") && (f.endsWith(".html") || f.endsWith(".css")));
@@ -177024,5 +177042,5 @@ export {
177024
177042
  build
177025
177043
  };
177026
177044
 
177027
- //# debugId=2B46E23BF817F40764756E2164756E21
177045
+ //# debugId=159693A4EE0D3B4364756E2164756E21
177028
177046
  //# sourceMappingURL=build.js.map