@absolutejs/absolute 0.19.0-beta.1124 → 0.19.0-beta.1125

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/cli/index.js CHANGED
@@ -1613,7 +1613,7 @@ var stripStringsAndComments = (source) => {
1613
1613
 
1614
1614
  // node_modules/typescript/lib/typescript.js
1615
1615
  var require_typescript = __commonJS((exports, module) => {
1616
- var __dirname = "/tmp/absolutejs-1124-gate.HCTVoE/node_modules/typescript/lib", __filename = "/tmp/absolutejs-1124-gate.HCTVoE/node_modules/typescript/lib/typescript.js";
1616
+ var __dirname = "/tmp/absolutejs-1125-final.FEhoXu/node_modules/typescript/lib", __filename = "/tmp/absolutejs-1125-final.FEhoXu/node_modules/typescript/lib/typescript.js";
1617
1617
  /*! *****************************************************************************
1618
1618
  Copyright (c) Microsoft Corporation. All rights reserved.
1619
1619
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use
package/dist/index.js CHANGED
@@ -29543,7 +29543,7 @@ var init_fastHmrCompiler = __esm(() => {
29543
29543
 
29544
29544
  // node_modules/content-tag/pkg/node/content_tag.cjs
29545
29545
  var require_content_tag = __commonJS((exports, module) => {
29546
- var __dirname = "/tmp/absolutejs-1124-gate.HCTVoE/node_modules/content-tag/pkg/node";
29546
+ var __dirname = "/tmp/absolutejs-1125-final.FEhoXu/node_modules/content-tag/pkg/node";
29547
29547
  var imports = {};
29548
29548
  imports["__wbindgen_placeholder__"] = exports;
29549
29549
  var wasm;
@@ -31805,9 +31805,10 @@ ${content.slice(firstUseIdx)}`;
31805
31805
  ...vueIndexPaths,
31806
31806
  ...vueClientPaths,
31807
31807
  ...skipAngularClientBundle ? [] : angularClientPaths,
31808
- ...islandBootstrapPath ? [islandBootstrapPath] : [],
31809
- ...urlReferencedFiles
31808
+ ...islandBootstrapPath ? [islandBootstrapPath] : []
31810
31809
  ];
31810
+ const [onlyWorkerClientEntry] = urlReferencedFiles;
31811
+ const workerClientRoot = urlReferencedFiles.length === 1 && onlyWorkerClientEntry ? dirname21(onlyWorkerClientEntry) : commonAncestor(urlReferencedFiles.map((file5) => dirname21(file5)), projectRoot);
31811
31812
  const islandEntryResult = islandBuildInfo ? await tracePhase("islands/client-entry-generation", () => generateIslandEntryPoints({
31812
31813
  buildInfo: islandBuildInfo,
31813
31814
  buildPath,
@@ -31821,7 +31822,7 @@ ${content.slice(firstUseIdx)}`;
31821
31822
  generatedRoot: join40(buildPath, "_island_entries")
31822
31823
  };
31823
31824
  const islandClientEntryPoints = islandEntryResult.entries.map((entry) => entry.entryPath);
31824
- if (serverEntryPoints.length === 0 && reactClientEntryPoints.length === 0 && nonReactClientEntryPoints.length === 0 && islandClientEntryPoints.length === 0 && htmxDir === undefined && htmlDir === undefined) {
31825
+ if (serverEntryPoints.length === 0 && reactClientEntryPoints.length === 0 && nonReactClientEntryPoints.length === 0 && urlReferencedFiles.length === 0 && islandClientEntryPoints.length === 0 && htmxDir === undefined && htmlDir === undefined) {
31825
31826
  logWarn("No entry points found, manifest will be empty");
31826
31827
  sendTelemetryEvent("build:empty", {
31827
31828
  configuredDirs: {
@@ -31985,6 +31986,7 @@ ${content.slice(firstUseIdx)}`;
31985
31986
  serverResult,
31986
31987
  reactClientResult,
31987
31988
  nonReactClientResult,
31989
+ workerClientResult,
31988
31990
  islandClientResult,
31989
31991
  globalCssResult,
31990
31992
  vueCssResult
@@ -32040,6 +32042,22 @@ ${content.slice(firstUseIdx)}`;
32040
32042
  throw: false,
32041
32043
  tsconfig: "./tsconfig.json"
32042
32044
  }, resolveBunBuildOverride(bunBuildConfig, "nonReactClient")))) : undefined,
32045
+ urlReferencedFiles.length > 0 ? tracePhase("bun/worker-client", () => bunBuild7(mergeBunBuildConfig({
32046
+ conditions: svelteResolveConditions,
32047
+ entrypoints: urlReferencedFiles,
32048
+ external: Object.keys(nonReactExternalPaths),
32049
+ format: "esm",
32050
+ minify: !isDev2,
32051
+ naming: `[dir]/[name].[hash].[ext]`,
32052
+ outdir: buildPath,
32053
+ plugins: [stylePreprocessorPlugin2],
32054
+ root: workerClientRoot,
32055
+ sourcemap: resolveClientSourcemap(sourcemaps, isDev2),
32056
+ splitting: !isDev2,
32057
+ target: "browser",
32058
+ throw: false,
32059
+ tsconfig: "./tsconfig.json"
32060
+ }, resolveBunBuildOverride(bunBuildConfig, "nonReactClient")))) : undefined,
32043
32061
  islandClientEntryPoints.length > 0 ? tracePhase("bun/island-client", () => bunBuild7(mergeBunBuildConfig({
32044
32062
  conditions: svelteResolveConditions,
32045
32063
  define: vueDirectory ? vueFeatureFlags : undefined,
@@ -32137,8 +32155,14 @@ ${content.slice(firstUseIdx)}`;
32137
32155
  if (hmr && reactClientOutputPaths.length > 0) {
32138
32156
  await tracePhase("postprocess/react-refresh-globals", () => patchRefreshGlobals(reactClientOutputPaths));
32139
32157
  }
32140
- const nonReactClientLogs = nonReactClientResult?.logs ?? [];
32141
- const nonReactClientOutputs = nonReactClientResult?.outputs ?? [];
32158
+ const nonReactClientLogs = [
32159
+ ...nonReactClientResult?.logs ?? [],
32160
+ ...workerClientResult?.logs ?? []
32161
+ ];
32162
+ const nonReactClientOutputs = [
32163
+ ...nonReactClientResult?.outputs ?? [],
32164
+ ...workerClientResult?.outputs ?? []
32165
+ ];
32142
32166
  const nonReactClientOutputPaths = nonReactClientOutputs.map((artifact) => artifact.path);
32143
32167
  const islandClientLogs = islandClientResult?.logs ?? [];
32144
32168
  const islandClientOutputs = islandClientResult?.outputs ?? [];
@@ -32155,7 +32179,7 @@ ${content.slice(firstUseIdx)}`;
32155
32179
  if (hmr && islandClientOutputPaths.length > 0) {
32156
32180
  await tracePhase("postprocess/island-refresh-globals", () => patchRefreshGlobals(islandClientOutputPaths));
32157
32181
  }
32158
- if (nonReactClientResult && !nonReactClientResult.success && nonReactClientLogs.length > 0) {
32182
+ if ((nonReactClientResult && !nonReactClientResult.success || workerClientResult && !workerClientResult.success) && nonReactClientLogs.length > 0) {
32159
32183
  handlePassFailure(nonReactClientLogs, "non-react-client", "Non-React client");
32160
32184
  }
32161
32185
  if (islandClientResult && !islandClientResult.success && islandClientLogs.length > 0) {
@@ -48019,5 +48043,5 @@ export {
48019
48043
  ANGULAR_INIT_TIMEOUT_MS
48020
48044
  };
48021
48045
 
48022
- //# debugId=A11F19DBE02F4F5964756E2164756E21
48046
+ //# debugId=F089454049B3B81D64756E2164756E21
48023
48047
  //# sourceMappingURL=index.js.map