@absolutejs/absolute 0.19.0-beta.125 → 0.19.0-beta.126

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
@@ -171170,7 +171170,7 @@ import {
171170
171170
  rmSync,
171171
171171
  writeFileSync as writeFileSync3
171172
171172
  } from "fs";
171173
- import { basename as basename5, join as join13, relative as relative7, resolve as resolve10 } from "path";
171173
+ import { basename as basename5, dirname as dirname6, join as join13, relative as relative7, resolve as resolve10 } from "path";
171174
171174
  import { cwd, env as env2, exit } from "process";
171175
171175
  var {build: bunBuild6, Glob: Glob5 } = globalThis.Bun;
171176
171176
  var isDev, extractBuildError = (logs, pass, label, frameworkNames, isIncremental, throwOnError) => {
@@ -171671,7 +171671,7 @@ var isDev, extractBuildError = (logs, pass, label, frameworkNames, isIncremental
171671
171671
  minify: !isDev,
171672
171672
  naming: "[dir]/[name].[hash].[ext]",
171673
171673
  outdir: buildPath,
171674
- root: commonAncestor(workerEntryPoints),
171674
+ root: commonAncestor(workerEntryPoints.map((p) => dirname6(p))),
171675
171675
  target: "browser",
171676
171676
  throw: false
171677
171677
  });
@@ -172878,7 +172878,7 @@ var init_registerClientScript = __esm(() => {
172878
172878
 
172879
172879
  // src/angular/injectorPatch.ts
172880
172880
  import { readFileSync as readFileSync8, writeFileSync as writeFileSync4 } from "fs";
172881
- import { dirname as dirname6, join as join15 } from "path";
172881
+ import { dirname as dirname7, join as join15 } from "path";
172882
172882
  var applyInjectorPatch = (chunkPath, content) => {
172883
172883
  if (content.includes('Symbol.for("angular.currentInjector")')) {
172884
172884
  return;
@@ -172915,7 +172915,7 @@ var applyInjectorPatch = (chunkPath, content) => {
172915
172915
  writeFileSync4(chunkPath, patched, "utf-8");
172916
172916
  }, patchAngularInjectorSingleton = () => {
172917
172917
  try {
172918
- const coreDir = dirname6(__require.resolve("@angular/core/package.json"));
172918
+ const coreDir = dirname7(__require.resolve("@angular/core/package.json"));
172919
172919
  const chunkPath = join15(coreDir, "fesm2022", "_not_found-chunk.mjs");
172920
172920
  const content = readFileSync8(chunkPath, "utf-8");
172921
172921
  applyInjectorPatch(chunkPath, content);
@@ -202509,7 +202509,7 @@ __export(exports_moduleServer, {
202509
202509
  SRC_URL_PREFIX: () => SRC_URL_PREFIX
202510
202510
  });
202511
202511
  import { existsSync as existsSync13, readFileSync as readFileSync9, statSync } from "fs";
202512
- import { basename as basename7, dirname as dirname7, extname as extname3, resolve as resolve17, relative as relative8 } from "path";
202512
+ import { basename as basename7, dirname as dirname8, extname as extname3, resolve as resolve17, relative as relative8 } from "path";
202513
202513
  var SRC_PREFIX = "/@src/", jsTranspiler2, tsTranspiler2, tsxTranspiler, TRANSPILABLE, ALL_EXPORTS_RE, STRING_CONTENTS_RE, preserveTypeExports = (originalSource, transpiled, valueExports) => {
202514
202514
  const codeOnly = originalSource.replace(STRING_CONTENTS_RE, '""');
202515
202515
  const allExports = [];
@@ -202569,7 +202569,7 @@ ${stubs}
202569
202569
  };
202570
202570
  result = result.replace(/^((?:import\s+.+?\s+from|export\s+.+?\s+from|import)\s*["'])([^"'./][^"']*)(["'])/gm, stubReplace);
202571
202571
  result = result.replace(/(import\s*\(\s*["'])([^"'./][^"']*)(["']\s*\))/g, stubReplace);
202572
- const fileDir = dirname7(filePath);
202572
+ const fileDir = dirname8(filePath);
202573
202573
  result = result.replace(/(from\s*["'])(\.\.?\/[^"']+)(["'])/g, (_match, prefix, relPath, suffix) => {
202574
202574
  const absPath = resolve17(fileDir, relPath);
202575
202575
  const rel = relative8(projectRoot, absPath);
@@ -205033,5 +205033,5 @@ export {
205033
205033
  build
205034
205034
  };
205035
205035
 
205036
- //# debugId=3F1CBCC76E25EDCC64756E2164756E21
205036
+ //# debugId=3A7A7808BFA71C3264756E2164756E21
205037
205037
  //# sourceMappingURL=build.js.map