@absolutejs/absolute 0.19.0-beta.935 → 0.19.0-beta.937

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
 
@@ -25356,7 +25357,7 @@ var prepareDev = async (config, buildDir) => {
25356
25357
  projectRoot: config.dev?.devtools?.projectRoot,
25357
25358
  uuid: config.dev?.devtools?.uuid,
25358
25359
  uuidCachePath: config.dev?.devtools?.uuidCachePath
25359
- })).use(imageOptimizer2(config.images, buildDir)).use(staticPlugin({
25360
+ })).use(imageOptimizer2(config.images, buildDir)).use(await staticPlugin({
25360
25361
  alwaysStatic: true,
25361
25362
  assets: buildDir,
25362
25363
  directive: "no-cache",
@@ -25443,7 +25444,7 @@ var prepare = async (configOrPath) => {
25443
25444
  recordStep("load production conventions", stepStartedAt);
25444
25445
  stepStartedAt = performance.now();
25445
25446
  const { staticPlugin } = await import("@elysiajs/static");
25446
- const staticFiles = staticPlugin({
25447
+ const staticFiles = await staticPlugin({
25447
25448
  alwaysStatic: true,
25448
25449
  assets: buildDir,
25449
25450
  prefix: "",
@@ -32136,5 +32137,5 @@ export {
32136
32137
  ANGULAR_INIT_TIMEOUT_MS
32137
32138
  };
32138
32139
 
32139
- //# debugId=D894B88CFA4F564B64756E2164756E21
32140
+ //# debugId=E5D55DB53383127464756E2164756E21
32140
32141
  //# sourceMappingURL=index.js.map