@absolutejs/absolute 0.19.0-beta.655 → 0.19.0-beta.657

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
@@ -174674,11 +174674,26 @@ __export(exports_buildReactVendor, {
174674
174674
  computeVendorPaths: () => computeVendorPaths,
174675
174675
  buildReactVendor: () => buildReactVendor
174676
174676
  });
174677
- import { mkdirSync as mkdirSync6 } from "fs";
174678
- import { join as join14 } from "path";
174677
+ import { existsSync as existsSync16, mkdirSync as mkdirSync6 } from "fs";
174678
+ import { join as join14, resolve as resolve16 } from "path";
174679
174679
  import { rm as rm4 } from "fs/promises";
174680
174680
  var {build: bunBuild2 } = globalThis.Bun;
174681
- var jsxDevRuntimeCompatPath, reactSpecifiers, isResolvable = (specifier) => {
174681
+ var resolveJsxDevRuntimeCompatPath = () => {
174682
+ const candidates = [
174683
+ resolve16(import.meta.dir, "react", "jsxDevRuntimeCompat.js"),
174684
+ resolve16(import.meta.dir, "src", "react", "jsxDevRuntimeCompat.ts"),
174685
+ resolve16(import.meta.dir, "..", "react", "jsxDevRuntimeCompat.js"),
174686
+ resolve16(import.meta.dir, "..", "src", "react", "jsxDevRuntimeCompat.ts"),
174687
+ resolve16(import.meta.dir, "..", "..", "dist", "react", "jsxDevRuntimeCompat.js"),
174688
+ resolve16(import.meta.dir, "..", "..", "src", "react", "jsxDevRuntimeCompat.ts")
174689
+ ];
174690
+ for (const candidate of candidates) {
174691
+ if (existsSync16(candidate)) {
174692
+ return candidate.replace(/\\/g, "/");
174693
+ }
174694
+ }
174695
+ return (candidates[0] ?? resolve16(import.meta.dir, "react", "jsxDevRuntimeCompat.js")).replace(/\\/g, "/");
174696
+ }, jsxDevRuntimeCompatPath, reactSpecifiers, isResolvable = (specifier) => {
174682
174697
  try {
174683
174698
  Bun.resolveSync(specifier, process.cwd());
174684
174699
  return true;
@@ -174742,7 +174757,7 @@ var jsxDevRuntimeCompatPath, reactSpecifiers, isResolvable = (specifier) => {
174742
174757
  }
174743
174758
  };
174744
174759
  var init_buildReactVendor = __esm(() => {
174745
- jsxDevRuntimeCompatPath = join14(import.meta.dir, "..", "react", "jsxDevRuntimeCompat.ts").replace(/\\/g, "/");
174760
+ jsxDevRuntimeCompatPath = resolveJsxDevRuntimeCompatPath();
174746
174761
  reactSpecifiers = [
174747
174762
  "react",
174748
174763
  "react-dom",
@@ -174976,14 +174991,14 @@ var init_rewriteImports = __esm(() => {
174976
174991
  import {
174977
174992
  copyFileSync,
174978
174993
  cpSync,
174979
- existsSync as existsSync16,
174994
+ existsSync as existsSync17,
174980
174995
  mkdirSync as mkdirSync10,
174981
174996
  readFileSync as readFileSync9,
174982
174997
  rmSync as rmSync2,
174983
174998
  statSync,
174984
174999
  writeFileSync as writeFileSync7
174985
175000
  } from "fs";
174986
- import { basename as basename7, dirname as dirname9, join as join18, relative as relative9, resolve as resolve16 } from "path";
175001
+ import { basename as basename7, dirname as dirname9, join as join18, relative as relative9, resolve as resolve17 } from "path";
174987
175002
  import { cwd, env as env2, exit } from "process";
174988
175003
  var {build: bunBuild6, Glob: Glob6 } = globalThis.Bun;
174989
175004
  var isDev, collectConventionSourceFiles = (entry) => {
@@ -175071,8 +175086,8 @@ var isDev, collectConventionSourceFiles = (entry) => {
175071
175086
  }
175072
175087
  }, resolveAbsoluteVersion = async () => {
175073
175088
  const candidates = [
175074
- resolve16(import.meta.dir, "..", "..", "package.json"),
175075
- resolve16(import.meta.dir, "..", "package.json")
175089
+ resolve17(import.meta.dir, "..", "..", "package.json"),
175090
+ resolve17(import.meta.dir, "..", "package.json")
175076
175091
  ];
175077
175092
  for (const candidate of candidates) {
175078
175093
  const pkg = await tryReadPackageJson(candidate);
@@ -175084,7 +175099,7 @@ var isDev, collectConventionSourceFiles = (entry) => {
175084
175099
  return;
175085
175100
  }
175086
175101
  }, SKIP_DIRS, addWorkerPathIfExists = (file3, relPath, workerPaths) => {
175087
- const absPath = resolve16(file3, "..", relPath);
175102
+ const absPath = resolve17(file3, "..", relPath);
175088
175103
  try {
175089
175104
  statSync(absPath);
175090
175105
  workerPaths.add(absPath);
@@ -175144,11 +175159,11 @@ var isDev, collectConventionSourceFiles = (entry) => {
175144
175159
  copyVueDevIndexes(vueDir, vuePagesPath, vueEntries, devIndexDir);
175145
175160
  }
175146
175161
  }, copyReactDevIndexes = (reactIndexesPath, reactPagesPath, devIndexDir, readDir) => {
175147
- if (!existsSync16(reactIndexesPath)) {
175162
+ if (!existsSync17(reactIndexesPath)) {
175148
175163
  return;
175149
175164
  }
175150
175165
  const indexFiles = readDir(reactIndexesPath).filter((file3) => file3.endsWith(".tsx"));
175151
- const pagesRel = relative9(process.cwd(), resolve16(reactPagesPath)).replace(/\\/g, "/");
175166
+ const pagesRel = relative9(process.cwd(), resolve17(reactPagesPath)).replace(/\\/g, "/");
175152
175167
  for (const file3 of indexFiles) {
175153
175168
  let content = readFileSync9(join18(reactIndexesPath, file3), "utf-8");
175154
175169
  content = content.replace(/from\s*['"]([^'"]*\/pages\/([^'"]+))['"]/g, (_match, _fullPath, componentName) => `from '/@src/${pagesRel}/${componentName}'`);
@@ -175156,27 +175171,27 @@ var isDev, collectConventionSourceFiles = (entry) => {
175156
175171
  }
175157
175172
  }, copySvelteDevIndexes = (svelteDir, sveltePagesPath, svelteEntries, devIndexDir) => {
175158
175173
  const svelteIndexDir = join18(svelteDir, "generated", "indexes");
175159
- const sveltePageEntries = svelteEntries.filter((file3) => resolve16(file3).startsWith(resolve16(sveltePagesPath)));
175174
+ const sveltePageEntries = svelteEntries.filter((file3) => resolve17(file3).startsWith(resolve17(sveltePagesPath)));
175160
175175
  for (const entry of sveltePageEntries) {
175161
175176
  const name = basename7(entry).replace(/\.svelte(\.(ts|js))?$/, "");
175162
175177
  const indexFile = join18(svelteIndexDir, "pages", `${name}.js`);
175163
- if (!existsSync16(indexFile))
175178
+ if (!existsSync17(indexFile))
175164
175179
  continue;
175165
175180
  let content = readFileSync9(indexFile, "utf-8");
175166
- const srcRel = relative9(process.cwd(), resolve16(entry)).replace(/\\/g, "/");
175181
+ const srcRel = relative9(process.cwd(), resolve17(entry)).replace(/\\/g, "/");
175167
175182
  content = content.replace(/import\s+Component\s+from\s+['"]([^'"]+)['"]/, `import Component from "/@src/${srcRel}"`);
175168
175183
  writeFileSync7(join18(devIndexDir, `${name}.svelte.js`), content);
175169
175184
  }
175170
175185
  }, copyVueDevIndexes = (vueDir, vuePagesPath, vueEntries, devIndexDir) => {
175171
175186
  const vueIndexDir = join18(vueDir, "generated", "indexes");
175172
- const vuePageEntries = vueEntries.filter((file3) => resolve16(file3).startsWith(resolve16(vuePagesPath)));
175187
+ const vuePageEntries = vueEntries.filter((file3) => resolve17(file3).startsWith(resolve17(vuePagesPath)));
175173
175188
  for (const entry of vuePageEntries) {
175174
175189
  const name = basename7(entry, ".vue");
175175
175190
  const indexFile = join18(vueIndexDir, `${name}.js`);
175176
- if (!existsSync16(indexFile))
175191
+ if (!existsSync17(indexFile))
175177
175192
  continue;
175178
175193
  let content = readFileSync9(indexFile, "utf-8");
175179
- const srcRel = relative9(process.cwd(), resolve16(entry)).replace(/\\/g, "/");
175194
+ const srcRel = relative9(process.cwd(), resolve17(entry)).replace(/\\/g, "/");
175180
175195
  content = content.replace(/import\s+Comp\s+from\s+['"]([^'"]+)['"]/, `import Comp from "/@src/${srcRel}"`);
175181
175196
  writeFileSync7(join18(devIndexDir, `${name}.vue.js`), content);
175182
175197
  }
@@ -175189,7 +175204,7 @@ var isDev, collectConventionSourceFiles = (entry) => {
175189
175204
  const last = allComments[allComments.length - 1];
175190
175205
  if (!last?.[1])
175191
175206
  return JSON.stringify(outputPath);
175192
- const srcPath = resolve16(projectRoot, last[1].replace("/client/", "/").replace(/\.js$/, ".ts"));
175207
+ const srcPath = resolve17(projectRoot, last[1].replace("/client/", "/").replace(/\.js$/, ".ts"));
175193
175208
  return JSON.stringify(srcPath);
175194
175209
  }, QUOTE_CHARS, OPEN_BRACES, CLOSE_BRACES, findFunctionExpressionEnd = (content, startPos) => {
175195
175210
  let depth = 0;
@@ -175398,13 +175413,13 @@ ${content.slice(firstUseIdx)}`;
175398
175413
  const filterToIncrementalEntries = (entryPoints, mapToSource) => {
175399
175414
  if (!isIncremental || !incrementalFiles)
175400
175415
  return entryPoints;
175401
- const normalizedIncremental = new Set(incrementalFiles.map((f) => resolve16(f)));
175416
+ const normalizedIncremental = new Set(incrementalFiles.map((f) => resolve17(f)));
175402
175417
  const matchingEntries = [];
175403
175418
  for (const entry of entryPoints) {
175404
175419
  const sourceFile = mapToSource(entry);
175405
175420
  if (!sourceFile)
175406
175421
  continue;
175407
- if (!normalizedIncremental.has(resolve16(sourceFile)))
175422
+ if (!normalizedIncremental.has(resolve17(sourceFile)))
175408
175423
  continue;
175409
175424
  matchingEntries.push(entry);
175410
175425
  }
@@ -175473,7 +175488,7 @@ ${content.slice(firstUseIdx)}`;
175473
175488
  }
175474
175489
  const shouldIncludeHtmlAssets = !isIncremental || normalizedIncrementalFiles?.some((f) => f.includes("/html/") && (f.endsWith(".html") || f.endsWith(".css")));
175475
175490
  const reactEntries = isIncremental && reactIndexesPath && reactPagesPath ? filterToIncrementalEntries(allReactEntries, (entry) => {
175476
- if (entry.startsWith(resolve16(reactIndexesPath))) {
175491
+ if (entry.startsWith(resolve17(reactIndexesPath))) {
175477
175492
  const pageName = basename7(entry, ".tsx");
175478
175493
  return join18(reactPagesPath, `${pageName}.tsx`);
175479
175494
  }
@@ -175536,7 +175551,7 @@ ${content.slice(firstUseIdx)}`;
175536
175551
  const clientPath = islandSvelteClientPaths[idx];
175537
175552
  if (!sourcePath || !clientPath)
175538
175553
  continue;
175539
- islandSvelteClientPathMap.set(resolve16(sourcePath), clientPath);
175554
+ islandSvelteClientPathMap.set(resolve17(sourcePath), clientPath);
175540
175555
  }
175541
175556
  const islandVueClientPathMap = new Map;
175542
175557
  for (let idx = 0;idx < islandVueSources.length; idx++) {
@@ -175544,7 +175559,7 @@ ${content.slice(firstUseIdx)}`;
175544
175559
  const clientPath = islandVueClientPaths[idx];
175545
175560
  if (!sourcePath || !clientPath)
175546
175561
  continue;
175547
- islandVueClientPathMap.set(resolve16(sourcePath), clientPath);
175562
+ islandVueClientPathMap.set(resolve17(sourcePath), clientPath);
175548
175563
  }
175549
175564
  const islandAngularClientPathMap = new Map;
175550
175565
  for (let idx = 0;idx < islandAngularSources.length; idx++) {
@@ -175552,7 +175567,7 @@ ${content.slice(firstUseIdx)}`;
175552
175567
  const clientPath = islandAngularClientPaths[idx];
175553
175568
  if (!sourcePath || !clientPath)
175554
175569
  continue;
175555
- islandAngularClientPathMap.set(resolve16(sourcePath), clientPath);
175570
+ islandAngularClientPathMap.set(resolve17(sourcePath), clientPath);
175556
175571
  }
175557
175572
  const svelteConventionSources = collectConventionSourceFiles(conventionsMap.svelte);
175558
175573
  const vueConventionSources = collectConventionSourceFiles(conventionsMap.vue);
@@ -176087,9 +176102,9 @@ var init_build = __esm(() => {
176087
176102
  });
176088
176103
 
176089
176104
  // src/dev/dependencyGraph.ts
176090
- import { existsSync as existsSync17, readFileSync as readFileSync10 } from "fs";
176105
+ import { existsSync as existsSync18, readFileSync as readFileSync10 } from "fs";
176091
176106
  var {Glob: Glob7 } = globalThis.Bun;
176092
- import { resolve as resolve17 } from "path";
176107
+ import { resolve as resolve18 } from "path";
176093
176108
  var emptyDependencyGraph, tsTranspiler, jsTranspiler, loaderForFile = (filePath) => {
176094
176109
  const lower = filePath.toLowerCase();
176095
176110
  if (lower.endsWith(".ts") || lower.endsWith(".tsx") || lower.endsWith(".jsx"))
@@ -176103,8 +176118,8 @@ var emptyDependencyGraph, tsTranspiler, jsTranspiler, loaderForFile = (filePath)
176103
176118
  if (!importPath.startsWith(".") && !importPath.startsWith("/")) {
176104
176119
  return null;
176105
176120
  }
176106
- const fromDir = resolve17(fromFile, "..");
176107
- const normalized = resolve17(fromDir, importPath);
176121
+ const fromDir = resolve18(fromFile, "..");
176122
+ const normalized = resolve18(fromDir, importPath);
176108
176123
  const extensions = [
176109
176124
  ".ts",
176110
176125
  ".tsx",
@@ -176117,10 +176132,10 @@ var emptyDependencyGraph, tsTranspiler, jsTranspiler, loaderForFile = (filePath)
176117
176132
  ];
176118
176133
  for (const ext of extensions) {
176119
176134
  const withExt = normalized + ext;
176120
- if (existsSync17(withExt))
176135
+ if (existsSync18(withExt))
176121
176136
  return withExt;
176122
176137
  }
176123
- if (existsSync17(normalized))
176138
+ if (existsSync18(normalized))
176124
176139
  return normalized;
176125
176140
  return null;
176126
176141
  }, clearExistingDependents = (graph, normalizedPath) => {
@@ -176134,8 +176149,8 @@ var emptyDependencyGraph, tsTranspiler, jsTranspiler, loaderForFile = (filePath)
176134
176149
  dependents.delete(normalizedPath);
176135
176150
  }
176136
176151
  }, addFileToGraph = (graph, filePath) => {
176137
- const normalizedPath = resolve17(filePath);
176138
- if (!existsSync17(normalizedPath))
176152
+ const normalizedPath = resolve18(filePath);
176153
+ if (!existsSync18(normalizedPath))
176139
176154
  return;
176140
176155
  const dependencies = extractDependencies(normalizedPath);
176141
176156
  clearExistingDependents(graph, normalizedPath);
@@ -176151,10 +176166,10 @@ var emptyDependencyGraph, tsTranspiler, jsTranspiler, loaderForFile = (filePath)
176151
176166
  }, IGNORED_SEGMENTS, buildInitialDependencyGraph = (graph, directories) => {
176152
176167
  const processedFiles = new Set;
176153
176168
  const glob = new Glob7("**/*.{ts,tsx,js,jsx,vue,svelte,html,htm}");
176154
- const resolvedDirs = directories.map((dir) => resolve17(dir)).filter((dir) => existsSync17(dir));
176169
+ const resolvedDirs = directories.map((dir) => resolve18(dir)).filter((dir) => existsSync18(dir));
176155
176170
  const allFiles = resolvedDirs.flatMap((dir) => Array.from(glob.scanSync({ absolute: true, cwd: dir })));
176156
176171
  for (const file3 of allFiles) {
176157
- const fullPath = resolve17(file3);
176172
+ const fullPath = resolve18(file3);
176158
176173
  if (IGNORED_SEGMENTS.some((seg) => fullPath.includes(seg)))
176159
176174
  continue;
176160
176175
  if (processedFiles.has(fullPath))
@@ -176267,7 +176282,7 @@ var emptyDependencyGraph, tsTranspiler, jsTranspiler, loaderForFile = (filePath)
176267
176282
  return [];
176268
176283
  }
176269
176284
  }, getAffectedFiles = (graph, changedFile) => {
176270
- const normalizedPath = resolve17(changedFile);
176285
+ const normalizedPath = resolve18(changedFile);
176271
176286
  const affected = new Set;
176272
176287
  const toProcess = [normalizedPath];
176273
176288
  const processNode = (current) => {
@@ -176307,7 +176322,7 @@ var emptyDependencyGraph, tsTranspiler, jsTranspiler, loaderForFile = (filePath)
176307
176322
  }
176308
176323
  graph.dependents.delete(normalizedPath);
176309
176324
  }, removeFileFromGraph = (graph, filePath) => {
176310
- const normalizedPath = resolve17(filePath);
176325
+ const normalizedPath = resolve18(filePath);
176311
176326
  removeDepsForFile(graph, normalizedPath);
176312
176327
  removeDependentsForFile(graph, normalizedPath);
176313
176328
  };
@@ -176350,12 +176365,12 @@ var globalVersionCounter = 0, createModuleVersionTracker = () => new Map, getNex
176350
176365
  };
176351
176366
 
176352
176367
  // src/dev/configResolver.ts
176353
- import { resolve as resolve18 } from "path";
176368
+ import { resolve as resolve19 } from "path";
176354
176369
  var resolveBuildPaths = (config) => {
176355
176370
  const cwd2 = process.cwd();
176356
176371
  const normalize = (path) => path.replace(/\\/g, "/");
176357
- const withDefault = (value, fallback) => normalize(resolve18(cwd2, value ?? fallback));
176358
- const optional = (value) => value ? normalize(resolve18(cwd2, value)) : undefined;
176372
+ const withDefault = (value, fallback) => normalize(resolve19(cwd2, value ?? fallback));
176373
+ const optional = (value) => value ? normalize(resolve19(cwd2, value)) : undefined;
176359
176374
  return {
176360
176375
  angularDir: optional(config.angularDirectory),
176361
176376
  assetsDir: optional(config.assetsDirectory),
@@ -176543,8 +176558,8 @@ var init_pathUtils = __esm(() => {
176543
176558
 
176544
176559
  // src/dev/fileWatcher.ts
176545
176560
  import { watch } from "fs";
176546
- import { existsSync as existsSync18 } from "fs";
176547
- import { join as join19, resolve as resolve19 } from "path";
176561
+ import { existsSync as existsSync19 } from "fs";
176562
+ import { join as join19, resolve as resolve20 } from "path";
176548
176563
  var safeRemoveFromGraph = (graph, fullPath) => {
176549
176564
  try {
176550
176565
  removeFileFromGraph(graph, fullPath);
@@ -176575,12 +176590,12 @@ var safeRemoveFromGraph = (graph, fullPath) => {
176575
176590
  if (shouldIgnorePath(fullPath, state.resolvedPaths)) {
176576
176591
  return;
176577
176592
  }
176578
- if (event === "rename" && !existsSync18(fullPath)) {
176593
+ if (event === "rename" && !existsSync19(fullPath)) {
176579
176594
  safeRemoveFromGraph(state.dependencyGraph, fullPath);
176580
176595
  onFileChange(fullPath);
176581
176596
  return;
176582
176597
  }
176583
- if (existsSync18(fullPath)) {
176598
+ if (existsSync19(fullPath)) {
176584
176599
  onFileChange(fullPath);
176585
176600
  safeAddToGraph(state.dependencyGraph, fullPath);
176586
176601
  }
@@ -176589,8 +176604,8 @@ var safeRemoveFromGraph = (graph, fullPath) => {
176589
176604
  }, addFileWatchers = (state, paths, onFileChange) => {
176590
176605
  const stylesDir = state.resolvedPaths?.stylesDir;
176591
176606
  paths.forEach((path) => {
176592
- const absolutePath = resolve19(path).replace(/\\/g, "/");
176593
- if (!existsSync18(absolutePath)) {
176607
+ const absolutePath = resolve20(path).replace(/\\/g, "/");
176608
+ if (!existsSync19(absolutePath)) {
176594
176609
  return;
176595
176610
  }
176596
176611
  const isStylesDir = Boolean(stylesDir && absolutePath.startsWith(stylesDir));
@@ -176600,8 +176615,8 @@ var safeRemoveFromGraph = (graph, fullPath) => {
176600
176615
  const watchPaths = getWatchPaths(config, state.resolvedPaths);
176601
176616
  const stylesDir = state.resolvedPaths?.stylesDir;
176602
176617
  watchPaths.forEach((path) => {
176603
- const absolutePath = resolve19(path).replace(/\\/g, "/");
176604
- if (!existsSync18(absolutePath)) {
176618
+ const absolutePath = resolve20(path).replace(/\\/g, "/");
176619
+ if (!existsSync19(absolutePath)) {
176605
176620
  return;
176606
176621
  }
176607
176622
  const isStylesDir = Boolean(stylesDir && absolutePath.startsWith(stylesDir));
@@ -176615,13 +176630,13 @@ var init_fileWatcher = __esm(() => {
176615
176630
  });
176616
176631
 
176617
176632
  // src/dev/assetStore.ts
176618
- import { resolve as resolve20 } from "path";
176633
+ import { resolve as resolve21 } from "path";
176619
176634
  import { readdir as readdir3, unlink } from "fs/promises";
176620
176635
  var mimeTypes, getMimeType = (filePath) => {
176621
176636
  const ext = filePath.slice(filePath.lastIndexOf("."));
176622
176637
  return mimeTypes[ext] ?? "application/octet-stream";
176623
176638
  }, HASHED_FILE_RE, stripHash = (webPath) => webPath.replace(/\.[a-z0-9]{8}(\.(js|css|mjs))$/, "$1"), processWalkEntry = (entry, dir, liveByIdentity, walkAndClean) => {
176624
- const fullPath = resolve20(dir, entry.name);
176639
+ const fullPath = resolve21(dir, entry.name);
176625
176640
  if (entry.isDirectory()) {
176626
176641
  return walkAndClean(fullPath);
176627
176642
  }
@@ -176637,10 +176652,10 @@ var mimeTypes, getMimeType = (filePath) => {
176637
176652
  }, cleanStaleAssets = async (store, manifest, buildDir) => {
176638
176653
  const liveByIdentity = new Map;
176639
176654
  for (const webPath of store.keys()) {
176640
- const diskPath = resolve20(buildDir, webPath.slice(1));
176655
+ const diskPath = resolve21(buildDir, webPath.slice(1));
176641
176656
  liveByIdentity.set(stripHash(diskPath), diskPath);
176642
176657
  }
176643
- const absBuildDir = resolve20(buildDir);
176658
+ const absBuildDir = resolve21(buildDir);
176644
176659
  Object.values(manifest).forEach((val) => {
176645
176660
  if (!HASHED_FILE_RE.test(val))
176646
176661
  return;
@@ -176658,7 +176673,7 @@ var mimeTypes, getMimeType = (filePath) => {
176658
176673
  } catch {}
176659
176674
  }, lookupAsset = (store, path) => store.get(path), processScanEntry = (entry, dir, prefix, store, scanDir) => {
176660
176675
  if (entry.isDirectory()) {
176661
- return scanDir(resolve20(dir, entry.name), `${prefix}${entry.name}/`);
176676
+ return scanDir(resolve21(dir, entry.name), `${prefix}${entry.name}/`);
176662
176677
  }
176663
176678
  if (!entry.name.startsWith("chunk-")) {
176664
176679
  return null;
@@ -176667,7 +176682,7 @@ var mimeTypes, getMimeType = (filePath) => {
176667
176682
  if (store.has(webPath)) {
176668
176683
  return null;
176669
176684
  }
176670
- return Bun.file(resolve20(dir, entry.name)).bytes().then((bytes) => {
176685
+ return Bun.file(resolve21(dir, entry.name)).bytes().then((bytes) => {
176671
176686
  store.set(webPath, bytes);
176672
176687
  return;
176673
176688
  }).catch(() => {});
@@ -176692,7 +176707,7 @@ var mimeTypes, getMimeType = (filePath) => {
176692
176707
  for (const webPath of newIdentities.values()) {
176693
176708
  if (store.has(webPath))
176694
176709
  continue;
176695
- loadPromises.push(Bun.file(resolve20(buildDir, webPath.slice(1))).bytes().then((bytes) => {
176710
+ loadPromises.push(Bun.file(resolve21(buildDir, webPath.slice(1))).bytes().then((bytes) => {
176696
176711
  store.set(webPath, bytes);
176697
176712
  return;
176698
176713
  }).catch(() => {}));
@@ -176723,7 +176738,7 @@ var init_assetStore = __esm(() => {
176723
176738
 
176724
176739
  // src/islands/pageMetadata.ts
176725
176740
  import { readFileSync as readFileSync11 } from "fs";
176726
- import { dirname as dirname10, resolve as resolve21 } from "path";
176741
+ import { dirname as dirname10, resolve as resolve22 } from "path";
176727
176742
  var pagePatterns, getPageDirs = (config) => [
176728
176743
  { dir: config.angularDirectory, framework: "angular" },
176729
176744
  { dir: config.reactDirectory, framework: "react" },
@@ -176742,15 +176757,15 @@ var pagePatterns, getPageDirs = (config) => [
176742
176757
  const source = definition.buildReference?.source;
176743
176758
  if (!source)
176744
176759
  continue;
176745
- const resolvedSource = source.startsWith("file://") ? new URL(source).pathname : resolve21(dirname10(buildInfo.resolvedRegistryPath), source);
176746
- lookup.set(`${definition.framework}:${definition.component}`, resolve21(resolvedSource));
176760
+ const resolvedSource = source.startsWith("file://") ? new URL(source).pathname : resolve22(dirname10(buildInfo.resolvedRegistryPath), source);
176761
+ lookup.set(`${definition.framework}:${definition.component}`, resolve22(resolvedSource));
176747
176762
  }
176748
176763
  return lookup;
176749
176764
  }, getCurrentPageIslandMetadata = () => globalThis.__absolutePageIslandMetadata ?? new Map, metadataUsesSource = (metadata, target) => metadata.islands.some((usage) => {
176750
176765
  const candidate = usage.source;
176751
- return candidate ? resolve21(candidate) === target : false;
176766
+ return candidate ? resolve22(candidate) === target : false;
176752
176767
  }), getPagesUsingIslandSource = (sourcePath) => {
176753
- const target = resolve21(sourcePath);
176768
+ const target = resolve22(sourcePath);
176754
176769
  return [...getCurrentPageIslandMetadata().values()].filter((metadata) => metadataUsesSource(metadata, target)).map((metadata) => metadata.pagePath);
176755
176770
  }, resolveIslandUsages = (islands, islandSourceLookup) => islands.map((usage) => {
176756
176771
  const sourcePath = islandSourceLookup.get(`${usage.framework}:${usage.component}`);
@@ -176762,13 +176777,13 @@ var pagePatterns, getPageDirs = (config) => [
176762
176777
  const pattern = pagePatterns[entry.framework];
176763
176778
  if (!pattern)
176764
176779
  return;
176765
- const files = await scanEntryPoints(resolve21(entry.dir), pattern);
176780
+ const files = await scanEntryPoints(resolve22(entry.dir), pattern);
176766
176781
  for (const filePath of files) {
176767
176782
  const source = readFileSync11(filePath, "utf-8");
176768
176783
  const islands = extractIslandUsagesFromSource(source);
176769
- pageMetadata.set(resolve21(filePath), {
176784
+ pageMetadata.set(resolve22(filePath), {
176770
176785
  islands: resolveIslandUsages(islands, islandSourceLookup),
176771
- pagePath: resolve21(filePath)
176786
+ pagePath: resolve22(filePath)
176772
176787
  });
176773
176788
  }
176774
176789
  }, loadPageIslandMetadata = async (config) => {
@@ -176815,9 +176830,9 @@ var init_fileHashTracker = __esm(() => {
176815
176830
  });
176816
176831
 
176817
176832
  // src/dev/reactComponentClassifier.ts
176818
- import { resolve as resolve22 } from "path";
176833
+ import { resolve as resolve23 } from "path";
176819
176834
  var classifyComponent = (filePath) => {
176820
- const normalizedPath = resolve22(filePath);
176835
+ const normalizedPath = resolve23(filePath);
176821
176836
  if (normalizedPath.includes("/react/pages/")) {
176822
176837
  return "server";
176823
176838
  }
@@ -176829,7 +176844,7 @@ var classifyComponent = (filePath) => {
176829
176844
  var init_reactComponentClassifier = () => {};
176830
176845
 
176831
176846
  // src/dev/moduleMapper.ts
176832
- import { basename as basename8, resolve as resolve23 } from "path";
176847
+ import { basename as basename8, resolve as resolve24 } from "path";
176833
176848
  var buildModulePaths = (moduleKeys, manifest) => {
176834
176849
  const modulePaths = {};
176835
176850
  moduleKeys.forEach((key) => {
@@ -176839,7 +176854,7 @@ var buildModulePaths = (moduleKeys, manifest) => {
176839
176854
  });
176840
176855
  return modulePaths;
176841
176856
  }, processChangedFile = (sourceFile, framework, manifest, resolvedPaths, processedFiles) => {
176842
- const normalizedFile = resolve23(sourceFile);
176857
+ const normalizedFile = resolve24(sourceFile);
176843
176858
  const normalizedPath = normalizedFile.replace(/\\/g, "/");
176844
176859
  if (processedFiles.has(normalizedFile)) {
176845
176860
  return null;
@@ -176875,7 +176890,7 @@ var buildModulePaths = (moduleKeys, manifest) => {
176875
176890
  });
176876
176891
  return grouped;
176877
176892
  }, mapSourceFileToManifestKeys = (sourceFile, framework, resolvedPaths) => {
176878
- const normalizedFile = resolve23(sourceFile);
176893
+ const normalizedFile = resolve24(sourceFile);
176879
176894
  const fileName = basename8(normalizedFile);
176880
176895
  const baseName = fileName.replace(/\.(tsx?|jsx?|vue|svelte|css|html)$/, "");
176881
176896
  const pascalName = toPascal(baseName);
@@ -177814,19 +177829,19 @@ var init_streamingSlotWarningScope = __esm(() => {
177814
177829
  import { AsyncLocalStorage as AsyncLocalStorage3 } from "async_hooks";
177815
177830
  import { mkdir as mkdir4, symlink } from "fs/promises";
177816
177831
  import { tmpdir } from "os";
177817
- import { basename as basename10, dirname as dirname11, join as join20, resolve as resolve24 } from "path";
177832
+ import { basename as basename10, dirname as dirname11, join as join20, resolve as resolve25 } from "path";
177818
177833
  var ssrDirty = false, lastSelector = "angular-page", isRecord7 = (value) => typeof value === "object" && value !== null, isAngularComponent = (value) => typeof value === "function", compilerImportPromise = null, ensureAngularCompiler = () => {
177819
177834
  if (!compilerImportPromise) {
177820
177835
  compilerImportPromise = import("@angular/compiler");
177821
177836
  }
177822
177837
  return compilerImportPromise;
177823
177838
  }, readAngularPageModule = (value) => isRecord7(value) ? value : null, resolveAngularSsrOutDir = () => process.env.ABSOLUTE_ANGULAR_SSR_OUTDIR ?? join20(tmpdir(), "absolutejs", "generated", "angular-ssr"), ensureAngularSsrNodeModules = async (outDir) => {
177824
- const outRoot = resolve24(dirname11(dirname11(outDir)));
177839
+ const outRoot = resolve25(dirname11(dirname11(outDir)));
177825
177840
  const nodeModulesLink = join20(outRoot, "node_modules");
177826
177841
  if (process.env.ABSOLUTE_ANGULAR_SSR_OUTDIR) {
177827
177842
  return;
177828
177843
  }
177829
- if (nodeModulesLink === resolve24(process.cwd(), "node_modules")) {
177844
+ if (nodeModulesLink === resolve25(process.cwd(), "node_modules")) {
177830
177845
  return;
177831
177846
  }
177832
177847
  if (await Bun.file(nodeModulesLink).exists()) {
@@ -177834,7 +177849,7 @@ var ssrDirty = false, lastSelector = "angular-page", isRecord7 = (value) => type
177834
177849
  }
177835
177850
  await mkdir4(outRoot, { recursive: true });
177836
177851
  try {
177837
- await symlink(resolve24(process.cwd(), "node_modules"), nodeModulesLink, "dir");
177852
+ await symlink(resolve25(process.cwd(), "node_modules"), nodeModulesLink, "dir");
177838
177853
  } catch (error) {
177839
177854
  if (!(error instanceof Error) || !("code" in error) || error.code !== "EEXIST") {
177840
177855
  throw error;
@@ -178362,8 +178377,8 @@ __export(exports_moduleServer, {
178362
178377
  createModuleServer: () => createModuleServer,
178363
178378
  SRC_URL_PREFIX: () => SRC_URL_PREFIX
178364
178379
  });
178365
- import { existsSync as existsSync19, readFileSync as readFileSync13, statSync as statSync2 } from "fs";
178366
- import { basename as basename12, dirname as dirname13, extname as extname5, resolve as resolve25, relative as relative10 } from "path";
178380
+ import { existsSync as existsSync20, readFileSync as readFileSync13, statSync as statSync2 } from "fs";
178381
+ import { basename as basename12, dirname as dirname13, extname as extname5, resolve as resolve26, relative as relative10 } from "path";
178367
178382
  var SRC_PREFIX = "/@src/", jsTranspiler2, tsTranspiler2, tsxTranspiler, TRANSPILABLE, ALL_EXPORTS_RE, STRING_CONTENTS_RE, preserveTypeExports = (originalSource, transpiled, valueExports) => {
178368
178383
  const codeOnly = originalSource.replace(STRING_CONTENTS_RE, '""');
178369
178384
  const allExports = [];
@@ -178383,7 +178398,7 @@ var SRC_PREFIX = "/@src/", jsTranspiler2, tsTranspiler2, tsxTranspiler, TRANSPIL
178383
178398
  ${stubs}
178384
178399
  `;
178385
178400
  }, resolveRelativeExtension = (srcPath, projectRoot, extensions) => {
178386
- const found = extensions.find((ext) => existsSync19(resolve25(projectRoot, srcPath + ext)));
178401
+ const found = extensions.find((ext) => existsSync20(resolve26(projectRoot, srcPath + ext)));
178387
178402
  return found ? srcPath + found : srcPath;
178388
178403
  }, IMPORT_EXTENSIONS, SIDE_EFFECT_EXTENSIONS, MODULE_EXTENSIONS, RESOLVED_MODULE_EXTENSIONS, REACT_EXTENSIONS, escapeRegex3 = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), buildImportRewriter = (vendorPaths) => {
178389
178404
  const entries = Object.entries(vendorPaths).sort(([a], [b]) => b.length - a.length);
@@ -178398,7 +178413,7 @@ ${stubs}
178398
178413
  return invalidationVersion > 0 ? `${mtime}.${invalidationVersion}` : `${mtime}`;
178399
178414
  }, srcUrl = (relPath, projectRoot) => {
178400
178415
  const base = `${SRC_PREFIX}${relPath.replace(/\\/g, "/")}`;
178401
- const absPath = resolve25(projectRoot, relPath);
178416
+ const absPath = resolve26(projectRoot, relPath);
178402
178417
  const cached = mtimeCache.get(absPath);
178403
178418
  if (cached !== undefined)
178404
178419
  return `${base}?v=${buildVersion(cached, absPath)}`;
@@ -178410,12 +178425,12 @@ ${stubs}
178410
178425
  return base;
178411
178426
  }
178412
178427
  }, resolveRelativeImport = (relPath, fileDir, projectRoot, extensions) => {
178413
- const absPath = resolve25(fileDir, relPath);
178428
+ const absPath = resolve26(fileDir, relPath);
178414
178429
  const rel = relative10(projectRoot, absPath);
178415
178430
  const extension = extname5(rel);
178416
178431
  let srcPath = RESOLVED_MODULE_EXTENSIONS.has(extension) ? rel : resolveRelativeExtension(rel, projectRoot, extensions);
178417
178432
  if (extname5(srcPath) === ".svelte") {
178418
- srcPath = relative10(projectRoot, resolveSvelteModulePath(resolve25(projectRoot, srcPath)));
178433
+ srcPath = relative10(projectRoot, resolveSvelteModulePath(resolve26(projectRoot, srcPath)));
178419
178434
  }
178420
178435
  return srcUrl(srcPath, projectRoot);
178421
178436
  }, resolveAbsoluteSpecifier = (specifier, projectRoot) => {
@@ -178461,12 +178476,12 @@ ${stubs}
178461
178476
  return `${prefix}${srcUrl(rel, projectRoot)}${suffix}`;
178462
178477
  });
178463
178478
  result = result.replace(/new\s+URL\(\s*["'](\.\.?\/[^"']+)["']\s*,\s*import\.meta\.url\s*\)/g, (_match, relPath) => {
178464
- const absPath = resolve25(fileDir, relPath);
178479
+ const absPath = resolve26(fileDir, relPath);
178465
178480
  const rel = relative10(projectRoot, absPath);
178466
178481
  return `new URL('${srcUrl(rel, projectRoot)}', import.meta.url)`;
178467
178482
  });
178468
178483
  result = result.replace(/import\.meta\.resolve\(\s*["'](\.\.?\/[^"']+)["']\s*\)/g, (_match, relPath) => {
178469
- const absPath = resolve25(fileDir, relPath);
178484
+ const absPath = resolve26(fileDir, relPath);
178470
178485
  const rel = relative10(projectRoot, absPath);
178471
178486
  return `'${srcUrl(rel, projectRoot)}'`;
178472
178487
  });
@@ -178742,7 +178757,7 @@ ${code}`;
178742
178757
  code = injectVueHmr(code, filePath, projectRoot, vueDir);
178743
178758
  return rewriteImports2(code, filePath, projectRoot, rewriter);
178744
178759
  }, injectVueHmr = (code, filePath, projectRoot, vueDir) => {
178745
- const hmrBase = vueDir ? resolve25(vueDir) : projectRoot;
178760
+ const hmrBase = vueDir ? resolve26(vueDir) : projectRoot;
178746
178761
  const hmrId = relative10(hmrBase, filePath).replace(/\\/g, "/").replace(/\.vue$/, "");
178747
178762
  let result = code.replace(/export\s+default\s+/, "var __hmr_comp__ = ");
178748
178763
  result += [
@@ -178757,11 +178772,11 @@ ${code}`;
178757
178772
  `);
178758
178773
  return result;
178759
178774
  }, resolveSvelteModulePath = (path) => {
178760
- if (existsSync19(path))
178775
+ if (existsSync20(path))
178761
178776
  return path;
178762
- if (existsSync19(`${path}.ts`))
178777
+ if (existsSync20(`${path}.ts`))
178763
178778
  return `${path}.ts`;
178764
- if (existsSync19(`${path}.js`))
178779
+ if (existsSync20(`${path}.js`))
178765
178780
  return `${path}.js`;
178766
178781
  return path;
178767
178782
  }, jsResponse = (body) => {
@@ -178901,13 +178916,13 @@ export default {};
178901
178916
  const escaped = virtualCss.replace(/\\/g, "\\\\").replace(/`/g, "\\`").replace(/\$/g, "\\$");
178902
178917
  return jsResponse(`var s=document.createElement('style');s.textContent=\`${escaped}\`;s.dataset.svelteHmr=${JSON.stringify(cssCheckPath)};var p=document.querySelector('style[data-svelte-hmr="${cssCheckPath}"]');if(p)p.remove();document.head.appendChild(s);`);
178903
178918
  }, resolveSourcePath = (relPath, projectRoot) => {
178904
- const filePath = resolve25(projectRoot, relPath);
178919
+ const filePath = resolve26(projectRoot, relPath);
178905
178920
  const ext = extname5(filePath);
178906
178921
  if (ext === ".svelte")
178907
178922
  return { ext, filePath: resolveSvelteModulePath(filePath) };
178908
178923
  if (ext)
178909
178924
  return { ext, filePath };
178910
- const found = MODULE_EXTENSIONS.find((candidate) => existsSync19(filePath + candidate));
178925
+ const found = MODULE_EXTENSIONS.find((candidate) => existsSync20(filePath + candidate));
178911
178926
  if (!found)
178912
178927
  return { ext, filePath };
178913
178928
  const resolved = filePath + found;
@@ -178928,7 +178943,7 @@ export default {};
178928
178943
  if (!TRANSPILABLE.has(ext))
178929
178944
  return;
178930
178945
  const stat2 = statSync2(filePath);
178931
- const resolvedVueDir = vueDir ? resolve25(vueDir) : undefined;
178946
+ const resolvedVueDir = vueDir ? resolve26(vueDir) : undefined;
178932
178947
  const content = REACT_EXTENSIONS.has(ext) ? transformReactFile(filePath, projectRoot, rewriter) : transformPlainFile(filePath, projectRoot, rewriter, resolvedVueDir);
178933
178948
  setTransformed(filePath, content, stat2.mtimeMs, extractImportedFiles(content, projectRoot));
178934
178949
  return jsResponse(content);
@@ -178959,7 +178974,7 @@ export default {};
178959
178974
  if (!pathname.startsWith(SRC_PREFIX))
178960
178975
  return;
178961
178976
  const relPath = pathname.slice(SRC_PREFIX.length);
178962
- const virtualCssResponse = handleVirtualSvelteCss(resolve25(projectRoot, relPath));
178977
+ const virtualCssResponse = handleVirtualSvelteCss(resolve26(projectRoot, relPath));
178963
178978
  if (virtualCssResponse)
178964
178979
  return virtualCssResponse;
178965
178980
  const { filePath, ext } = resolveSourcePath(relPath, projectRoot);
@@ -178975,11 +178990,11 @@ export default {};
178975
178990
  SRC_IMPORT_RE.lastIndex = 0;
178976
178991
  while ((match = SRC_IMPORT_RE.exec(content)) !== null) {
178977
178992
  if (match[1])
178978
- files.push(resolve25(projectRoot, match[1]));
178993
+ files.push(resolve26(projectRoot, match[1]));
178979
178994
  }
178980
178995
  return files;
178981
178996
  }, invalidateModule = (filePath) => {
178982
- const resolved = resolve25(filePath);
178997
+ const resolved = resolve26(filePath);
178983
178998
  invalidate(filePath);
178984
178999
  if (resolved !== filePath)
178985
179000
  invalidate(resolved);
@@ -179055,11 +179070,11 @@ var exports_simpleHTMLHMR = {};
179055
179070
  __export(exports_simpleHTMLHMR, {
179056
179071
  handleHTMLUpdate: () => handleHTMLUpdate
179057
179072
  });
179058
- import { resolve as resolve26 } from "path";
179073
+ import { resolve as resolve27 } from "path";
179059
179074
  var handleHTMLUpdate = async (htmlFilePath) => {
179060
179075
  let htmlContent;
179061
179076
  try {
179062
- const resolvedPath = resolve26(htmlFilePath);
179077
+ const resolvedPath = resolve27(htmlFilePath);
179063
179078
  const file3 = Bun.file(resolvedPath);
179064
179079
  if (!await file3.exists()) {
179065
179080
  return null;
@@ -179085,11 +179100,11 @@ var exports_simpleHTMXHMR = {};
179085
179100
  __export(exports_simpleHTMXHMR, {
179086
179101
  handleHTMXUpdate: () => handleHTMXUpdate
179087
179102
  });
179088
- import { resolve as resolve27 } from "path";
179103
+ import { resolve as resolve28 } from "path";
179089
179104
  var handleHTMXUpdate = async (htmxFilePath) => {
179090
179105
  let htmlContent;
179091
179106
  try {
179092
- const resolvedPath = resolve27(htmxFilePath);
179107
+ const resolvedPath = resolve28(htmxFilePath);
179093
179108
  const file3 = Bun.file(resolvedPath);
179094
179109
  if (!await file3.exists()) {
179095
179110
  return null;
@@ -179111,8 +179126,8 @@ var handleHTMXUpdate = async (htmxFilePath) => {
179111
179126
  var init_simpleHTMXHMR = () => {};
179112
179127
 
179113
179128
  // src/dev/rebuildTrigger.ts
179114
- import { existsSync as existsSync20 } from "fs";
179115
- import { basename as basename13, dirname as dirname14, relative as relative11, resolve as resolve28 } from "path";
179129
+ import { existsSync as existsSync21 } from "fs";
179130
+ import { basename as basename13, dirname as dirname14, relative as relative11, resolve as resolve29 } from "path";
179116
179131
  var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseErrorLocationFromMessage = (msg) => {
179117
179132
  const pathLineCol = msg.match(/^([^\s:]+):(\d+)(?::(\d+))?/);
179118
179133
  if (pathLineCol) {
@@ -179180,11 +179195,11 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179180
179195
  detectedFw = detected !== "ignored" ? detected : affectedFrameworks[0];
179181
179196
  }
179182
179197
  return { ...parsed, framework: detectedFw };
179183
- }, isValidDeletedAffectedFile = (affectedFile, deletedPathResolved, processedFiles) => affectedFile !== deletedPathResolved && !processedFiles.has(affectedFile) && existsSync20(affectedFile), collectDeletedFileAffected = (state, filePathInSet, processedFiles, validFiles) => {
179198
+ }, isValidDeletedAffectedFile = (affectedFile, deletedPathResolved, processedFiles) => affectedFile !== deletedPathResolved && !processedFiles.has(affectedFile) && existsSync21(affectedFile), collectDeletedFileAffected = (state, filePathInSet, processedFiles, validFiles) => {
179184
179199
  state.fileHashes.delete(filePathInSet);
179185
179200
  try {
179186
179201
  const affectedFiles = getAffectedFiles(state.dependencyGraph, filePathInSet);
179187
- const deletedPathResolved = resolve28(filePathInSet);
179202
+ const deletedPathResolved = resolve29(filePathInSet);
179188
179203
  affectedFiles.forEach((affectedFile) => {
179189
179204
  if (isValidDeletedAffectedFile(affectedFile, deletedPathResolved, processedFiles)) {
179190
179205
  validFiles.push(affectedFile);
@@ -179198,7 +179213,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179198
179213
  if (!dependents || dependents.size === 0) {
179199
179214
  return;
179200
179215
  }
179201
- const dependentFiles = Array.from(dependents).filter((file3) => existsSync20(file3));
179216
+ const dependentFiles = Array.from(dependents).filter((file3) => existsSync21(file3));
179202
179217
  if (dependentFiles.length === 0) {
179203
179218
  return;
179204
179219
  }
@@ -179214,7 +179229,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179214
179229
  try {
179215
179230
  const affectedFiles = getAffectedFiles(state.dependencyGraph, normalizedFilePath);
179216
179231
  affectedFiles.forEach((affectedFile) => {
179217
- if (!processedFiles.has(affectedFile) && affectedFile !== normalizedFilePath && existsSync20(affectedFile)) {
179232
+ if (!processedFiles.has(affectedFile) && affectedFile !== normalizedFilePath && existsSync21(affectedFile)) {
179218
179233
  validFiles.push(affectedFile);
179219
179234
  processedFiles.add(affectedFile);
179220
179235
  }
@@ -179228,7 +179243,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179228
179243
  if (storedHash !== undefined && storedHash === fileHash) {
179229
179244
  return;
179230
179245
  }
179231
- const normalizedFilePath = resolve28(filePathInSet);
179246
+ const normalizedFilePath = resolve29(filePathInSet);
179232
179247
  if (!processedFiles.has(normalizedFilePath)) {
179233
179248
  validFiles.push(normalizedFilePath);
179234
179249
  processedFiles.add(normalizedFilePath);
@@ -179239,7 +179254,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179239
179254
  collectChangedFileAffected(state, normalizedFilePath, processedFiles, validFiles);
179240
179255
  }, processFilePathSet = (state, filePathSet, processedFiles, validFiles) => {
179241
179256
  filePathSet.forEach((filePathInSet) => {
179242
- if (!existsSync20(filePathInSet)) {
179257
+ if (!existsSync21(filePathInSet)) {
179243
179258
  collectDeletedFileAffected(state, filePathInSet, processedFiles, validFiles);
179244
179259
  return;
179245
179260
  }
@@ -179306,7 +179321,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179306
179321
  }
179307
179322
  if (framework === "unknown") {
179308
179323
  const { invalidate: invalidate2 } = (init_transformCache(), __toCommonJS(exports_transformCache));
179309
- invalidate2(resolve28(filePath));
179324
+ invalidate2(resolve29(filePath));
179310
179325
  const relPath = relative11(process.cwd(), filePath);
179311
179326
  logHmrUpdate(relPath);
179312
179327
  return;
@@ -179347,12 +179362,12 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179347
179362
  return componentFile;
179348
179363
  }
179349
179364
  const tsCounterpart = componentFile.replace(/\.html$/, ".ts");
179350
- if (existsSync20(tsCounterpart)) {
179365
+ if (existsSync21(tsCounterpart)) {
179351
179366
  return tsCounterpart;
179352
179367
  }
179353
179368
  if (!graph)
179354
179369
  return componentFile;
179355
- const dependents = graph.dependents.get(resolve28(componentFile));
179370
+ const dependents = graph.dependents.get(resolve29(componentFile));
179356
179371
  if (!dependents)
179357
179372
  return componentFile;
179358
179373
  for (const dep of dependents) {
@@ -179361,7 +179376,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179361
179376
  }
179362
179377
  return componentFile;
179363
179378
  }, resolveAngularPageEntries = (state, angularFiles, angularPagesPath) => {
179364
- const pageEntries = angularFiles.filter((file3) => file3.endsWith(".ts") && resolve28(file3).startsWith(angularPagesPath));
179379
+ const pageEntries = angularFiles.filter((file3) => file3.endsWith(".ts") && resolve29(file3).startsWith(angularPagesPath));
179365
179380
  if (pageEntries.length > 0 || !state.dependencyGraph) {
179366
179381
  return pageEntries;
179367
179382
  }
@@ -179370,7 +179385,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179370
179385
  const lookupFile = resolveComponentLookupFile(componentFile, state.dependencyGraph);
179371
179386
  const affected = getAffectedFiles(state.dependencyGraph, lookupFile);
179372
179387
  affected.forEach((file3) => {
179373
- if (file3.endsWith(".ts") && resolve28(file3).startsWith(angularPagesPath)) {
179388
+ if (file3.endsWith(".ts") && resolve29(file3).startsWith(angularPagesPath)) {
179374
179389
  resolvedPages.add(file3);
179375
179390
  }
179376
179391
  });
@@ -179464,7 +179479,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179464
179479
  const { clientPaths, serverPaths } = await compileAngular2(pageEntries, angularDir, true);
179465
179480
  serverPaths.forEach((serverPath) => {
179466
179481
  const fileBase = basename13(serverPath, ".js");
179467
- state.manifest[toPascal(fileBase)] = resolve28(serverPath);
179482
+ state.manifest[toPascal(fileBase)] = resolve29(serverPath);
179468
179483
  });
179469
179484
  if (clientPaths.length > 0) {
179470
179485
  await bundleAngularClient(state, clientPaths, state.resolvedPaths.buildDir);
@@ -179473,9 +179488,9 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179473
179488
  const angularDir = config.angularDirectory ?? "";
179474
179489
  const angularFiles = filesToRebuild.filter((file3) => detectFramework(file3, state.resolvedPaths) === "angular");
179475
179490
  for (const file3 of angularFiles) {
179476
- state.fileHashes.set(resolve28(file3), computeFileHash(file3));
179491
+ state.fileHashes.set(resolve29(file3), computeFileHash(file3));
179477
179492
  }
179478
- const angularPagesPath = resolve28(angularDir, "pages");
179493
+ const angularPagesPath = resolve29(angularDir, "pages");
179479
179494
  const pageEntries = resolveAngularPageEntries(state, angularFiles, angularPagesPath);
179480
179495
  if (pageEntries.length > 0) {
179481
179496
  await compileAndBundleAngular(state, pageEntries, angularDir);
@@ -179490,8 +179505,8 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179490
179505
  return manifest;
179491
179506
  }, resolveReactEntryForPageFile = (normalized, pagesPathResolved, reactIndexesPath) => {
179492
179507
  const pageName = basename13(normalized, ".tsx");
179493
- const indexPath = resolve28(reactIndexesPath, `${pageName}.tsx`);
179494
- if (!existsSync20(indexPath)) {
179508
+ const indexPath = resolve29(reactIndexesPath, `${pageName}.tsx`);
179509
+ if (!existsSync21(indexPath)) {
179495
179510
  return;
179496
179511
  }
179497
179512
  return indexPath;
@@ -179502,13 +179517,13 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179502
179517
  return;
179503
179518
  }
179504
179519
  const pageName = basename13(dep, ".tsx");
179505
- const indexPath = resolve28(reactIndexesPath, `${pageName}.tsx`);
179506
- if (existsSync20(indexPath) && !reactEntries.includes(indexPath)) {
179520
+ const indexPath = resolve29(reactIndexesPath, `${pageName}.tsx`);
179521
+ if (existsSync21(indexPath) && !reactEntries.includes(indexPath)) {
179507
179522
  reactEntries.push(indexPath);
179508
179523
  }
179509
179524
  });
179510
179525
  }, resolveReactEntryForFile = (state, file3, pagesPathResolved, reactIndexesPath, reactEntries) => {
179511
- const normalized = resolve28(file3);
179526
+ const normalized = resolve29(file3);
179512
179527
  if (!normalized.startsWith(pagesPathResolved)) {
179513
179528
  resolveReactEntriesFromDeps(state, normalized, pagesPathResolved, reactIndexesPath, reactEntries);
179514
179529
  return;
@@ -179519,7 +179534,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179519
179534
  }
179520
179535
  }, collectReactEntries = (state, filesToRebuild, reactPagesPath, reactIndexesPath) => {
179521
179536
  const reactEntries = [];
179522
- const pagesPathResolved = resolve28(reactPagesPath);
179537
+ const pagesPathResolved = resolve29(reactPagesPath);
179523
179538
  filesToRebuild.forEach((file3) => {
179524
179539
  resolveReactEntryForFile(state, file3, pagesPathResolved, reactIndexesPath, reactEntries);
179525
179540
  });
@@ -179531,7 +179546,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179531
179546
  const { rewriteReactImports: rewriteReactImports2 } = await Promise.resolve().then(() => (init_rewriteReactImports(), exports_rewriteReactImports));
179532
179547
  const clientRoot = await computeClientRoot(state.resolvedPaths);
179533
179548
  const depVendorPaths = globalThis.__depVendorPaths ?? {};
179534
- const refreshEntry = resolve28(reactIndexesPath, "_refresh.tsx");
179549
+ const refreshEntry = resolve29(reactIndexesPath, "_refresh.tsx");
179535
179550
  if (!reactEntries.includes(refreshEntry)) {
179536
179551
  reactEntries.push(refreshEntry);
179537
179552
  }
@@ -179543,7 +179558,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179543
179558
  setDevVendorPaths2(vendorPaths);
179544
179559
  }
179545
179560
  const { rmSync: rmSync3 } = await import("fs");
179546
- rmSync3(resolve28(buildDir, "react", "generated", "indexes"), {
179561
+ rmSync3(resolve29(buildDir, "react", "generated", "indexes"), {
179547
179562
  force: true,
179548
179563
  recursive: true
179549
179564
  });
@@ -179593,11 +179608,11 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179593
179608
  if (isComponentFile2)
179594
179609
  return primaryFile;
179595
179610
  const { findNearestComponent: findNearestComponent2 } = await Promise.resolve().then(() => (init_transformCache(), exports_transformCache));
179596
- const nearest = findNearestComponent2(resolve28(primaryFile));
179611
+ const nearest = findNearestComponent2(resolve29(primaryFile));
179597
179612
  return nearest ?? primaryFile;
179598
179613
  }, handleReactModuleServerPath = async (state, reactFiles, startTime, onRebuildComplete) => {
179599
179614
  for (const file3 of reactFiles) {
179600
- state.fileHashes.set(resolve28(file3), computeFileHash(file3));
179615
+ state.fileHashes.set(resolve29(file3), computeFileHash(file3));
179601
179616
  }
179602
179617
  invalidateReactSsrCache();
179603
179618
  const primaryFile = reactFiles.find((file3) => !file3.replace(/\\/g, "/").includes("/pages/")) ?? reactFiles[0];
@@ -179639,8 +179654,8 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179639
179654
  return state.manifest;
179640
179655
  }, handleReactFastPath = async (state, config, filesToRebuild, startTime, onRebuildComplete) => {
179641
179656
  const reactDir = config.reactDirectory ?? "";
179642
- const reactPagesPath = resolve28(reactDir, "pages");
179643
- const reactIndexesPath = resolve28(reactDir, "generated", "indexes");
179657
+ const reactPagesPath = resolve29(reactDir, "pages");
179658
+ const reactIndexesPath = resolve29(reactDir, "generated", "indexes");
179644
179659
  const { buildDir } = state.resolvedPaths;
179645
179660
  const reactFiles = filesToRebuild.filter((file3) => detectFramework(file3, state.resolvedPaths) === "react");
179646
179661
  if (reactFiles.length > 0) {
@@ -179703,7 +179718,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179703
179718
  });
179704
179719
  }, handleSvelteModuleServerPath = async (state, svelteFiles, startTime, onRebuildComplete) => {
179705
179720
  for (const file3 of svelteFiles) {
179706
- state.fileHashes.set(resolve28(file3), computeFileHash(file3));
179721
+ state.fileHashes.set(resolve29(file3), computeFileHash(file3));
179707
179722
  }
179708
179723
  invalidateSvelteSsrCache();
179709
179724
  const serverDuration = Date.now() - startTime;
@@ -179729,8 +179744,8 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179729
179744
  const { svelteServerPaths, svelteIndexPaths, svelteClientPaths } = await compileSvelte2(svelteFiles, svelteDir, new Map, true);
179730
179745
  const serverEntries = [...svelteServerPaths];
179731
179746
  const clientEntries = [...svelteIndexPaths, ...svelteClientPaths];
179732
- const serverRoot = resolve28(svelteDir, "generated", "server");
179733
- const serverOutDir = resolve28(buildDir, basename13(svelteDir));
179747
+ const serverRoot = resolve29(svelteDir, "generated", "server");
179748
+ const serverOutDir = resolve29(buildDir, basename13(svelteDir));
179734
179749
  const [serverResult, clientResult] = await Promise.all([
179735
179750
  serverEntries.length > 0 ? bunBuild7({
179736
179751
  entrypoints: serverEntries,
@@ -179821,7 +179836,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179821
179836
  });
179822
179837
  }, handleVueModuleServerPath = async (state, vueFiles, nonVueFiles, startTime, onRebuildComplete) => {
179823
179838
  for (const file3 of [...vueFiles, ...nonVueFiles]) {
179824
- state.fileHashes.set(resolve28(file3), computeFileHash(file3));
179839
+ state.fileHashes.set(resolve29(file3), computeFileHash(file3));
179825
179840
  }
179826
179841
  invalidateVueSsrCache();
179827
179842
  await invalidateNonVueModules(nonVueFiles);
@@ -179916,8 +179931,8 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179916
179931
  if (!buildReference?.source) {
179917
179932
  return;
179918
179933
  }
179919
- const sourcePath = buildReference.source.startsWith("file://") ? new URL(buildReference.source).pathname : resolve28(dirname14(buildInfo.resolvedRegistryPath), buildReference.source);
179920
- islandFiles.add(resolve28(sourcePath));
179934
+ const sourcePath = buildReference.source.startsWith("file://") ? new URL(buildReference.source).pathname : resolve29(dirname14(buildInfo.resolvedRegistryPath), buildReference.source);
179935
+ islandFiles.add(resolve29(sourcePath));
179921
179936
  }, resolveIslandSourceFiles = async (config) => {
179922
179937
  const registryPath = config.islands?.registry;
179923
179938
  if (!registryPath) {
@@ -179925,7 +179940,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179925
179940
  }
179926
179941
  const buildInfo = await loadIslandRegistryBuildInfo(registryPath);
179927
179942
  const islandFiles = new Set([
179928
- resolve28(buildInfo.resolvedRegistryPath)
179943
+ resolve29(buildInfo.resolvedRegistryPath)
179929
179944
  ]);
179930
179945
  for (const definition of buildInfo.definitions) {
179931
179946
  resolveIslandDefinitionSource(definition, buildInfo, islandFiles);
@@ -179936,7 +179951,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179936
179951
  if (islandFiles.size === 0) {
179937
179952
  return false;
179938
179953
  }
179939
- return filesToRebuild.some((file3) => islandFiles.has(resolve28(file3)));
179954
+ return filesToRebuild.some((file3) => islandFiles.has(resolve29(file3)));
179940
179955
  }, handleIslandSourceReload = async (state, config, filesToRebuild, manifest) => {
179941
179956
  const shouldReload = await didStaticPagesNeedIslandRefresh(config, filesToRebuild);
179942
179957
  if (!shouldReload) {
@@ -179971,10 +179986,10 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
179971
179986
  }, computeOutputPagesDir = (state, config, framework) => {
179972
179987
  const isSingle = !config.reactDirectory && !config.svelteDirectory && !config.vueDirectory && (framework === "html" ? !config.htmxDirectory : !config.htmlDirectory);
179973
179988
  if (isSingle) {
179974
- return resolve28(state.resolvedPaths.buildDir, "pages");
179989
+ return resolve29(state.resolvedPaths.buildDir, "pages");
179975
179990
  }
179976
179991
  const dirName = framework === "html" ? basename13(config.htmlDirectory ?? "html") : basename13(config.htmxDirectory ?? "htmx");
179977
- return resolve28(state.resolvedPaths.buildDir, dirName, "pages");
179992
+ return resolve29(state.resolvedPaths.buildDir, dirName, "pages");
179978
179993
  }, processHtmlPageUpdate = async (state, pageFile, builtHtmlPagePath, manifest, duration) => {
179979
179994
  try {
179980
179995
  const { handleHTMLUpdate: handleHTMLUpdate2 } = await Promise.resolve().then(() => (init_simpleHTMLHMR(), exports_simpleHTMLHMR));
@@ -180013,7 +180028,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
180013
180028
  const pageFilesToUpdate = shouldRefreshAllPages ? await scanEntryPoints(outputHtmlPages, "*.html") : htmlPageFiles;
180014
180029
  for (const pageFile of pageFilesToUpdate) {
180015
180030
  const htmlPageName = basename13(pageFile);
180016
- const builtHtmlPagePath = resolve28(outputHtmlPages, htmlPageName);
180031
+ const builtHtmlPagePath = resolve29(outputHtmlPages, htmlPageName);
180017
180032
  await processHtmlPageUpdate(state, pageFile, builtHtmlPagePath, manifest, duration);
180018
180033
  }
180019
180034
  }, handleVueCssOnlyUpdate = (state, vueCssFiles, manifest, duration) => {
@@ -180078,7 +180093,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
180078
180093
  const cssKey = `${pascalName}CSS`;
180079
180094
  const cssUrl = manifest[cssKey] || null;
180080
180095
  const { vueHmrMetadata: vueHmrMetadata2 } = await Promise.resolve().then(() => (init_compileVue(), exports_compileVue));
180081
- const hmrMeta = vueHmrMetadata2.get(resolve28(vuePagePath));
180096
+ const hmrMeta = vueHmrMetadata2.get(resolve29(vuePagePath));
180082
180097
  const changeType = hmrMeta?.changeType ?? "full";
180083
180098
  if (changeType === "style-only") {
180084
180099
  broadcastVueStyleOnly(state, vuePagePath, baseName, cssUrl, hmrId, manifest, duration);
@@ -180315,7 +180330,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
180315
180330
  const pageFilesToUpdate = shouldRefreshAllPages ? await scanEntryPoints(outputHtmxPages, "*.html") : htmxPageFiles;
180316
180331
  for (const htmxPageFile of pageFilesToUpdate) {
180317
180332
  const htmxPageName = basename13(htmxPageFile);
180318
- const builtHtmxPagePath = resolve28(outputHtmxPages, htmxPageName);
180333
+ const builtHtmxPagePath = resolve29(outputHtmxPages, htmxPageName);
180319
180334
  await processHtmxPageUpdate(state, htmxPageFile, builtHtmxPagePath, manifest, duration);
180320
180335
  }
180321
180336
  }, collectUpdatedModulePaths = (allModuleUpdates) => {
@@ -180424,7 +180439,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
180424
180439
  html = html.slice(0, bodyClose.index) + hmrScript + html.slice(bodyClose.index);
180425
180440
  writeFs(destPath, html);
180426
180441
  }, processMarkupFileFastPath = async (state, sourceFile, outputDir, framework, startTime, updateAssetPaths2, handleUpdate, readFs, writeFs) => {
180427
- const destPath = resolve28(outputDir, basename13(sourceFile));
180442
+ const destPath = resolve29(outputDir, basename13(sourceFile));
180428
180443
  const hmrScript = extractHmrScript(destPath, readFs);
180429
180444
  const source = await Bun.file(sourceFile).text();
180430
180445
  await Bun.write(destPath, source);
@@ -180799,7 +180814,7 @@ __export(exports_devBuild, {
180799
180814
  });
180800
180815
  import { readdir as readdir5 } from "fs/promises";
180801
180816
  import { statSync as statSync3 } from "fs";
180802
- import { dirname as dirname15, resolve as resolve29 } from "path";
180817
+ import { dirname as dirname15, resolve as resolve30 } from "path";
180803
180818
  var FRAMEWORK_DIR_KEYS, collectDepVendorSourceDirs = (config) => {
180804
180819
  const configuredDirs = [
180805
180820
  config.reactDirectory,
@@ -180822,7 +180837,7 @@ var FRAMEWORK_DIR_KEYS, collectDepVendorSourceDirs = (config) => {
180822
180837
  return Object.keys(config).length > 0 ? config : null;
180823
180838
  }, reloadConfig = async () => {
180824
180839
  try {
180825
- const configPath2 = resolve29(process.env.ABSOLUTE_CONFIG ?? "absolute.config.ts");
180840
+ const configPath2 = resolve30(process.env.ABSOLUTE_CONFIG ?? "absolute.config.ts");
180826
180841
  const source = await Bun.file(configPath2).text();
180827
180842
  return parseDirectoryConfig(source);
180828
180843
  } catch {
@@ -180902,7 +180917,7 @@ var FRAMEWORK_DIR_KEYS, collectDepVendorSourceDirs = (config) => {
180902
180917
  state.fileChangeQueue.clear();
180903
180918
  }
180904
180919
  }, handleCachedReload = async () => {
180905
- const serverMtime = statSync3(resolve29(Bun.main)).mtimeMs;
180920
+ const serverMtime = statSync3(resolve30(Bun.main)).mtimeMs;
180906
180921
  const lastMtime = globalThis.__hmrServerMtime;
180907
180922
  globalThis.__hmrServerMtime = serverMtime;
180908
180923
  const cached = globalThis.__hmrDevResult;
@@ -180936,8 +180951,8 @@ var FRAMEWORK_DIR_KEYS, collectDepVendorSourceDirs = (config) => {
180936
180951
  return true;
180937
180952
  }, resolveAbsoluteVersion2 = async () => {
180938
180953
  const candidates = [
180939
- resolve29(import.meta.dir, "..", "..", "package.json"),
180940
- resolve29(import.meta.dir, "..", "package.json")
180954
+ resolve30(import.meta.dir, "..", "..", "package.json"),
180955
+ resolve30(import.meta.dir, "..", "package.json")
180941
180956
  ];
180942
180957
  for (const candidate of candidates) {
180943
180958
  const found = await tryReadPackageVersion(candidate);
@@ -180950,7 +180965,7 @@ var FRAMEWORK_DIR_KEYS, collectDepVendorSourceDirs = (config) => {
180950
180965
  const entries = await readdir5(vendorDir).catch(() => emptyStringArray);
180951
180966
  await Promise.all(entries.map(async (entry) => {
180952
180967
  const webPath = `/${framework}/vendor/${entry}`;
180953
- const bytes = await Bun.file(resolve29(vendorDir, entry)).bytes();
180968
+ const bytes = await Bun.file(resolve30(vendorDir, entry)).bytes();
180954
180969
  assetStore.set(webPath, bytes);
180955
180970
  }));
180956
180971
  }, devBuild = async (config) => {
@@ -180995,7 +181010,7 @@ var FRAMEWORK_DIR_KEYS, collectDepVendorSourceDirs = (config) => {
180995
181010
  await populateAssetStore(state.assetStore, manifest, state.resolvedPaths.buildDir);
180996
181011
  cleanStaleAssets(state.assetStore, manifest, state.resolvedPaths.buildDir);
180997
181012
  const buildReactVendorTask = config.reactDirectory ? buildReactVendor(state.resolvedPaths.buildDir).then(async () => {
180998
- const vendorDir = resolve29(state.resolvedPaths.buildDir, "react", "vendor");
181013
+ const vendorDir = resolve30(state.resolvedPaths.buildDir, "react", "vendor");
180999
181014
  await loadVendorFiles(state.assetStore, vendorDir, "react");
181000
181015
  if (!globalThis.__reactModuleRef) {
181001
181016
  globalThis.__reactModuleRef = await import("react");
@@ -181003,23 +181018,23 @@ var FRAMEWORK_DIR_KEYS, collectDepVendorSourceDirs = (config) => {
181003
181018
  return true;
181004
181019
  }) : undefined;
181005
181020
  const buildAngularVendorTask = config.angularDirectory ? buildAngularVendor(state.resolvedPaths.buildDir).then(async () => {
181006
- const vendorDir = resolve29(state.resolvedPaths.buildDir, "angular", "vendor");
181021
+ const vendorDir = resolve30(state.resolvedPaths.buildDir, "angular", "vendor");
181007
181022
  await loadVendorFiles(state.assetStore, vendorDir, "angular");
181008
181023
  return true;
181009
181024
  }) : undefined;
181010
181025
  const buildSvelteVendorTask = config.svelteDirectory ? buildSvelteVendor(state.resolvedPaths.buildDir).then(async () => {
181011
- const vendorDir = resolve29(state.resolvedPaths.buildDir, "svelte", "vendor");
181026
+ const vendorDir = resolve30(state.resolvedPaths.buildDir, "svelte", "vendor");
181012
181027
  await loadVendorFiles(state.assetStore, vendorDir, "svelte");
181013
181028
  return true;
181014
181029
  }) : undefined;
181015
181030
  const buildVueVendorTask = config.vueDirectory ? buildVueVendor(state.resolvedPaths.buildDir).then(async () => {
181016
- const vendorDir = resolve29(state.resolvedPaths.buildDir, "vue", "vendor");
181031
+ const vendorDir = resolve30(state.resolvedPaths.buildDir, "vue", "vendor");
181017
181032
  await loadVendorFiles(state.assetStore, vendorDir, "vue");
181018
181033
  return true;
181019
181034
  }) : undefined;
181020
181035
  const { buildDepVendor: buildDepVendor2 } = await Promise.resolve().then(() => (init_buildDepVendor(), exports_buildDepVendor));
181021
181036
  const buildDepVendorTask = buildDepVendor2(state.resolvedPaths.buildDir, sourceDirs).then(async (depPaths) => {
181022
- const vendorDir = resolve29(state.resolvedPaths.buildDir, "vendor");
181037
+ const vendorDir = resolve30(state.resolvedPaths.buildDir, "vendor");
181023
181038
  await loadVendorFiles(state.assetStore, vendorDir, "vendor");
181024
181039
  globalThis.__depVendorPaths = depPaths;
181025
181040
  return true;
@@ -181050,7 +181065,7 @@ var FRAMEWORK_DIR_KEYS, collectDepVendorSourceDirs = (config) => {
181050
181065
  manifest
181051
181066
  };
181052
181067
  globalThis.__hmrDevResult = result;
181053
- globalThis.__hmrServerMtime = statSync3(resolve29(Bun.main)).mtimeMs;
181068
+ globalThis.__hmrServerMtime = statSync3(resolve30(Bun.main)).mtimeMs;
181054
181069
  return result;
181055
181070
  };
181056
181071
  var init_devBuild = __esm(() => {
@@ -181085,5 +181100,5 @@ export {
181085
181100
  build
181086
181101
  };
181087
181102
 
181088
- //# debugId=C3DBEF2236C61BA264756E2164756E21
181103
+ //# debugId=0094E6530A3C866064756E2164756E21
181089
181104
  //# sourceMappingURL=build.js.map