@absolutejs/absolute 0.19.0-beta.934 → 0.19.0-beta.936

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
@@ -9944,14 +9944,14 @@ var devVendorPaths = null, getDevVendorPaths = () => devVendorPaths, setDevVendo
9944
9944
  import { existsSync as existsSync14, mkdirSync as mkdirSync5, readFileSync as readFileSync11, writeFileSync as writeFileSync6 } from "fs";
9945
9945
  import { dirname as dirname10, join as join13, relative as relative6, resolve as resolve16 } from "path";
9946
9946
  import { createHash as createHash3 } from "crypto";
9947
- var CACHE_ROOT, createAngularLinkerPlugin = (linkerJitMode) => ({
9947
+ var CACHE_ROOT, ANGULAR_LINKER_CANDIDATE_RE, createAngularLinkerPlugin = (linkerJitMode) => ({
9948
9948
  name: "angular-linker",
9949
9949
  setup(bld) {
9950
9950
  let needsLinking;
9951
9951
  let babelTransform;
9952
9952
  let linkerPlugin;
9953
9953
  const cacheDir = join13(CACHE_ROOT, linkerJitMode ? "jit" : "aot");
9954
- bld.onLoad({ filter: /[\\/]@angular[\\/].*\.m?js$/ }, async (args) => {
9954
+ bld.onLoad({ filter: ANGULAR_LINKER_CANDIDATE_RE }, async (args) => {
9955
9955
  const source = await Bun.file(args.path).text();
9956
9956
  if (!needsLinking) {
9957
9957
  const specifier = "@angular/compiler-cli/linker";
@@ -10016,6 +10016,7 @@ var CACHE_ROOT, createAngularLinkerPlugin = (linkerJitMode) => ({
10016
10016
  }), angularLinkerPlugin;
10017
10017
  var init_angularLinkerPlugin = __esm(() => {
10018
10018
  CACHE_ROOT = resolve16(".absolutejs", "cache", "angular-linker");
10019
+ ANGULAR_LINKER_CANDIDATE_RE = /[\\/](?:@angular[\\/].*|@absolutejs[\\/]absolute[\\/]dist[\\/]angular[\\/]components[\\/].*)\.m?js$/;
10019
10020
  angularLinkerPlugin = createAngularLinkerPlugin(false);
10020
10021
  });
10021
10022
 
@@ -15461,6 +15462,7 @@ ${content.slice(firstUseIdx)}`;
15461
15462
  ...vueVendorPaths2 ?? {},
15462
15463
  ...svelteVendorPaths2 ?? {}
15463
15464
  };
15465
+ const angularPartialDeclSpecs = Object.keys(angularVendorPaths2 ?? {}).filter((spec) => !spec.startsWith("@angular/")).flatMap((spec) => [spec, `${spec}/*`]);
15464
15466
  const serverBuildExternals = [
15465
15467
  "react",
15466
15468
  "react/*",
@@ -15472,6 +15474,7 @@ ${content.slice(firstUseIdx)}`;
15472
15474
  "vue/*",
15473
15475
  "@vue/*",
15474
15476
  "@angular/*",
15477
+ ...angularPartialDeclSpecs,
15475
15478
  "typescript"
15476
15479
  ];
15477
15480
  const svelteResolveConditions = svelteDir ? ["svelte", "main"] : undefined;
@@ -32134,5 +32137,5 @@ export {
32134
32137
  ANGULAR_INIT_TIMEOUT_MS
32135
32138
  };
32136
32139
 
32137
- //# debugId=E833033599BF27F964756E2164756E21
32140
+ //# debugId=A3D8B398CE3D250C64756E2164756E21
32138
32141
  //# sourceMappingURL=index.js.map