@absolutejs/absolute 0.19.0-beta.700 → 0.19.0-beta.702

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/README.md CHANGED
@@ -134,6 +134,14 @@ await build({
134
134
 
135
135
  No separate config files or environment variables—just explicit arguments with sensible defaults.
136
136
 
137
+ ## Workspace Dev Logs
138
+
139
+ `absolute workspace dev` keeps the TUI focused on service status and live service output. Full logs are also written to `.absolutejs/workspace/logs/`, including `all.log` and one file per service, so long output can be copied or searched outside the TUI:
140
+
141
+ ```bash
142
+ tail -n 200 .absolutejs/workspace/logs/all.log
143
+ ```
144
+
137
145
  ---
138
146
 
139
147
  ## Roadmap
@@ -1532,10 +1532,13 @@ var islandSequence = 0, resolvedServerComponentCache, resolvedServerBuildCompone
1532
1532
  const loadPromise = loadAndCompileServerBuildComponent(buildReferencePath);
1533
1533
  resolvedServerBuildComponentCache.set(buildReferencePath, loadPromise);
1534
1534
  return loadPromise;
1535
- }, loadServerImportComponent = async (resolvedComponent) => {
1535
+ }, loadServerImportComponent = async (resolvedComponent, exportName) => {
1536
1536
  const resolvedModulePath = resolvedComponent.startsWith(".") ? new URL(resolvedComponent, import.meta.url).pathname : resolvedComponent;
1537
1537
  const importTarget = resolvedModulePath.endsWith(".svelte") ? await compileSvelteServerModule(resolvedModulePath) : resolvedModulePath;
1538
1538
  const loadedModule = await import(importTarget);
1539
+ if (exportName && exportName !== "default" && exportName in loadedModule) {
1540
+ return loadedModule[exportName];
1541
+ }
1539
1542
  return "default" in loadedModule ? loadedModule.default : loadedModule;
1540
1543
  }, resolveIslandComponent = async (component) => {
1541
1544
  const buildReference = getIslandBuildReference(component);
@@ -1543,6 +1546,9 @@ var islandSequence = 0, resolvedServerComponentCache, resolvedServerBuildCompone
1543
1546
  if (buildReferencePath?.endsWith(".svelte")) {
1544
1547
  return loadServerBuildComponent(buildReferencePath);
1545
1548
  }
1549
+ if (buildReferencePath) {
1550
+ return loadServerImportComponent(buildReferencePath, buildReference?.export);
1551
+ }
1546
1552
  const resolvedComponent = getIslandComponent(component);
1547
1553
  if (typeof resolvedComponent !== "string") {
1548
1554
  return resolvedComponent;
@@ -14216,5 +14222,5 @@ export {
14216
14222
  Island
14217
14223
  };
14218
14224
 
14219
- //# debugId=72803DF1FE68786864756E2164756E21
14225
+ //# debugId=4407B46F97E3807F64756E2164756E21
14220
14226
  //# sourceMappingURL=index.js.map