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

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