@wular/pnext 0.1.7 → 0.1.9

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.
Files changed (172) hide show
  1. package/dist/server/_chunks/{aliases-j47a10ce.js → aliases-fhv4dt06.js} +7 -5
  2. package/dist/server/_chunks/{analyze-arswqe6s.js → analyze-09kx9q6r.js} +17 -13
  3. package/dist/server/_chunks/{boot-af0mv3dy.js → boot-8aj7efqk.js} +13 -11
  4. package/dist/server/_chunks/{build-spy3dxp4.js → build-jda155c9.js} +7 -5
  5. package/dist/server/_chunks/{build-tier-m7yvqz61.js → build-tier-qrkpfsk1.js} +59 -75
  6. package/dist/server/_chunks/{build-t9h0hec3.js → build-wspv5h60.js} +1004 -1191
  7. package/dist/server/_chunks/{compile-53j02j27.js → compile-040r79gj.js} +2 -2
  8. package/dist/server/_chunks/{config-n2z7yxps.js → config-7h84p6q8.js} +6 -4
  9. package/dist/server/_chunks/{config-1yzwexq6.js → config-d4hqyygy.js} +12 -3
  10. package/dist/server/_chunks/{create-meec9hs6.js → create-skj8wzt5.js} +4 -3
  11. package/dist/server/_chunks/{dev-fjmqg6en.js → dev-pennd36n.js} +2 -2
  12. package/dist/server/_chunks/{generate-n9sh6hzt.js → generate-d8vb1d21.js} +5 -4
  13. package/dist/server/_chunks/{index-eeaanp2e.js → index-0qt2vapb.js} +3 -3
  14. package/dist/server/_chunks/{index-91x12ykq.js → index-0r5eqfc7.js} +6 -1
  15. package/dist/server/_chunks/{index-9ych9ma8.js → index-0wm2p3ks.js} +2 -2
  16. package/dist/server/_chunks/{index-357na4a8.js → index-141vcwk6.js} +1 -1
  17. package/dist/server/_chunks/{index-2dv4y4wd.js → index-1y0cesgn.js} +16 -10
  18. package/dist/server/_chunks/{index-ytjvpbm2.js → index-26gwrm07.js} +3 -3
  19. package/dist/server/_chunks/{index-8k7pfejn.js → index-3r6qpe8a.js} +7 -7
  20. package/dist/server/_chunks/{index-rn8dyr1f.js → index-42fef2rv.js} +8 -48
  21. package/dist/server/_chunks/{index-ncnes8c6.js → index-47gx7trn.js} +2 -2
  22. package/dist/server/_chunks/{index-20ppawv7.js → index-4qsce64w.js} +3 -3
  23. package/dist/server/_chunks/{index-1011cscr.js → index-4vf121ws.js} +61 -29
  24. package/dist/server/_chunks/{index-cf4rvxv6.js → index-52k54ykj.js} +1 -1
  25. package/dist/server/_chunks/{index-nyrba2kr.js → index-53fnn598.js} +11 -11
  26. package/dist/server/_chunks/{index-4hgjrqh7.js → index-6tb725m8.js} +2 -2
  27. package/dist/server/_chunks/{index-3xbr4eyv.js → index-912z4mfx.js} +3 -3
  28. package/dist/server/_chunks/{index-sjpckxqn.js → index-9f49w76j.js} +1 -1
  29. package/dist/server/_chunks/{index-jepjvcrf.js → index-aarf1brn.js} +1 -1
  30. package/dist/server/_chunks/{index-9n2914ww.js → index-akkrvjn6.js} +1 -1
  31. package/dist/server/_chunks/index-bzd2ef7t.js +10 -0
  32. package/dist/server/_chunks/{index-sv8m6789.js → index-cqcwwxfp.js} +5 -5
  33. package/dist/server/_chunks/{index-yz54pxrh.js → index-d1jsmhhk.js} +4 -9
  34. package/dist/server/_chunks/{index-vvmmknm1.js → index-da0fphj0.js} +19 -15
  35. package/dist/server/_chunks/{index-sctcgyvv.js → index-drwv61cc.js} +2 -2
  36. package/dist/server/_chunks/{index-z84ab1w0.js → index-e176wk6x.js} +3 -3
  37. package/dist/server/_chunks/{index-9hx2641q.js → index-entm8bmz.js} +1 -1
  38. package/dist/server/_chunks/index-fpghsgb4.js +352 -0
  39. package/dist/server/_chunks/{index-jx7bqvw1.js → index-hr63fvzn.js} +1 -1
  40. package/dist/server/_chunks/{index-eajaspjk.js → index-j0m1jxqa.js} +1 -1
  41. package/dist/server/_chunks/index-jbj7ehef.js +50 -0
  42. package/dist/server/_chunks/{index-egykcqg3.js → index-jexsy9a8.js} +1 -1
  43. package/dist/server/_chunks/{index-fkp000p1.js → index-jjppzw0s.js} +2 -2
  44. package/dist/server/_chunks/index-jt8e1pje.js +12 -0
  45. package/dist/server/_chunks/{index-ggk2j965.js → index-kpdph69z.js} +56 -50
  46. package/dist/server/_chunks/{index-6e4fqv30.js → index-m63czgq5.js} +2 -0
  47. package/dist/server/_chunks/{index-c0g2wf3z.js → index-md5jchzy.js} +1 -1
  48. package/dist/server/_chunks/{index-tvqkq6e6.js → index-n814hcky.js} +1 -1
  49. package/dist/server/_chunks/{index-06nyqntx.js → index-q3r9z8mq.js} +1 -1
  50. package/dist/server/_chunks/{index-4q2gbfwk.js → index-qjrh7w2g.js} +2 -2
  51. package/dist/server/_chunks/{index-3b3at80h.js → index-s61bx2aj.js} +6 -3
  52. package/dist/server/_chunks/{index-ym67zqxp.js → index-tf4j19ge.js} +1 -1
  53. package/dist/server/_chunks/{index-qn4z5s3c.js → index-typcbcsv.js} +3 -3
  54. package/dist/server/_chunks/{index-p77b4kcx.js → index-veycp46e.js} +1 -1
  55. package/dist/server/_chunks/{index-11sfk4hb.js → index-vmr35jjw.js} +1 -1
  56. package/dist/server/_chunks/{index-kq8kpzye.js → index-vqs3rebe.js} +3 -3
  57. package/dist/server/_chunks/{index-danncfhy.js → index-wm36rj4v.js} +1 -1
  58. package/dist/server/_chunks/{index-z4z9zv3b.js → index-x9c55pzy.js} +141 -3
  59. package/dist/server/_chunks/{index-y2jr2n72.js → index-xrsg0041.js} +4 -4
  60. package/dist/server/_chunks/{index-k1g3epw0.js → index-xs3411qh.js} +10 -10
  61. package/dist/server/_chunks/{index-0374j2b9.js → index-y4d02znn.js} +1 -1
  62. package/dist/server/_chunks/{index-wpfhfbs4.js → index-y71a76dn.js} +4 -4
  63. package/dist/server/_chunks/{index-qm6kmhqs.js → index-y7mzvq2q.js} +1 -1
  64. package/dist/server/_chunks/{index-hkdfj58q.js → index-y9bygr95.js} +1 -1
  65. package/dist/server/_chunks/{index-3tf1xjsp.js → index-yghskk8w.js} +11 -11
  66. package/dist/server/_chunks/{index-5gyr4emz.js → index-yzcpr3yw.js} +4 -4
  67. package/dist/server/_chunks/{index-x93hv0sc.js → index-zedjt25v.js} +23 -10
  68. package/dist/server/_chunks/{index-tq0pc7eg.js → index-zfrwq472.js} +3 -3
  69. package/dist/server/_chunks/{loader-7yw0j98z.js → loader-w1e0n5sm.js} +12 -10
  70. package/dist/server/_chunks/{modules-jn8bmbn8.js → modules-730j14cm.js} +14 -12
  71. package/dist/server/_chunks/{pipeline-yy9jhydf.js → pipeline-yjdnwbhm.js} +25 -21
  72. package/dist/server/_chunks/{production-jar9ztm3.js → production-1xe9b7wd.js} +14 -3
  73. package/dist/server/_chunks/{proxy-config-j84dgksn.js → proxy-config-9r9e0jvn.js} +7 -5
  74. package/dist/server/_chunks/{proxy-w1d0wmsn.js → proxy-pnevsbfd.js} +12 -10
  75. package/dist/server/_chunks/{router-k1reahfn.js → router-rzge0vz8.js} +10 -7
  76. package/dist/server/_chunks/{routes-2s277fc6.js → routes-0x8wjvcj.js} +12 -10
  77. package/dist/server/_chunks/{run-pvd8bs1t.js → run-tk90r3ac.js} +5 -4
  78. package/dist/server/_chunks/{server-mt4a994c.js → server-gev78ejc.js} +38 -34
  79. package/dist/server/_chunks/{tsconfig-defaults-1nb3308g.js → tsconfig-defaults-qe9wd6ne.js} +5 -4
  80. package/dist/server/_chunks/{typegen-0qr0459b.js → typegen-0yw8sry8.js} +15 -13
  81. package/dist/server/cli/index.js +12 -15
  82. package/dist/server/cli/start.js +35 -14
  83. package/dist/server/compat/next/cache.js +5 -5
  84. package/dist/server/compat/next/config-headers.js +8 -6
  85. package/dist/server/compat/next/config-loader.js +1 -1
  86. package/dist/server/compat/next/dist/server/web/spec-extension/revalidate.js +5 -5
  87. package/dist/server/compat/next/dist/server/web/spec-extension/unstable-cache.js +5 -5
  88. package/dist/server/compat/next/dist/server/web/spec-extension/unstable-no-store.js +5 -5
  89. package/dist/server/compat/next/dynamic.js +3 -14
  90. package/dist/server/compat/next/font/cache.js +6 -4
  91. package/dist/server/compat/next/font/local.js +7 -5
  92. package/dist/server/compat/next/font/runtime.js +7 -5
  93. package/dist/server/compat/next/headers.js +4 -4
  94. package/dist/server/compat/next/image/config.js +2 -2
  95. package/dist/server/compat/next/image/optimizer.js +3 -3
  96. package/dist/server/compat/next/image/static-metadata.js +4 -4
  97. package/dist/server/compat/next/legacy-request-apis.js +3 -3
  98. package/dist/server/compat/next/link-transform.js +4 -3
  99. package/dist/server/compat/next/navigation.js +5 -4
  100. package/dist/server/compat/next/redirects.js +8 -6
  101. package/dist/server/compat/next/resource-hints.js +2 -2
  102. package/dist/server/compat/next/rewrites.js +7 -5
  103. package/dist/server/compat/next/root-params.js +3 -3
  104. package/dist/server/compat/next/route-state.js +2 -2
  105. package/dist/server/compat/next/script.js +2 -2
  106. package/dist/server/compat/next/server.js +5 -5
  107. package/dist/server/generation.json +1 -1
  108. package/package.json +1 -1
  109. package/reference/compat.md +1 -1
  110. package/reference/config.md +2 -2
  111. package/reference/dev.md +1 -1
  112. package/reference/getting-started.md +1 -1
  113. package/reference/rendering.md +4 -4
  114. package/src/api/dynamic.tsx +84 -4
  115. package/src/cli/adapters/vercel-warm.ts +40 -29
  116. package/src/cli/adapters/vercel.ts +101 -1265
  117. package/src/cli/analyze.ts +3 -2
  118. package/src/cli/build/cache.ts +6 -6
  119. package/src/cli/build.ts +33 -33
  120. package/src/cli/index.ts +4 -6
  121. package/src/cli/serve/pipeline.ts +16 -10
  122. package/src/cli/serve/standalone-worker.ts +8 -0
  123. package/src/cli/serve/standalone.ts +727 -0
  124. package/src/cli/start.ts +29 -8
  125. package/src/client/build.ts +1 -1
  126. package/src/client/reference-stub.ts +2 -34
  127. package/src/compat/actions/extensions.ts +3 -2
  128. package/src/compat/bundler/require-context.ts +2 -1
  129. package/src/compat/bundler/webpack-loaders.ts +3 -2
  130. package/src/compat/bundler/worker.ts +2 -2
  131. package/src/compat/css/inline-css.ts +1 -1
  132. package/src/compat/export/build-complete.ts +1 -1
  133. package/src/compat/export/emit.ts +4 -4
  134. package/src/compat/export/standalone.ts +30 -65
  135. package/src/compat/image-optimizer/optimize.ts +1 -1
  136. package/src/compat/lifecycle/instrumentation-client.ts +4 -3
  137. package/src/compat/metadata-artifacts.ts +1 -1
  138. package/src/compat/next/config-loader.ts +3 -0
  139. package/src/compat/next/dynamic.tsx +10 -23
  140. package/src/compat/next/font/cache.ts +2 -1
  141. package/src/compat/next/font/runtime.ts +1 -1
  142. package/src/compat/register/image.ts +1 -1
  143. package/src/compat/typecheck/check.ts +6 -4
  144. package/src/config.ts +28 -5
  145. package/src/css/assets.ts +1 -1
  146. package/src/css/build.ts +16 -9
  147. package/src/dev/client-chunk-store.ts +2 -1
  148. package/src/dev/restart/client-key.ts +2 -1
  149. package/src/dev/restart/global-css.ts +2 -1
  150. package/src/dev/restart/route-bundle-key.ts +2 -1
  151. package/src/dev/restart/route-facts.ts +2 -1
  152. package/src/dev/server.ts +8 -7
  153. package/src/out-paths.ts +10 -0
  154. package/src/render/renderer.ts +1 -1
  155. package/src/resolve/dynamic.ts +4 -0
  156. package/src/resolve/engine.ts +2 -12
  157. package/src/resolve/scan-facts.ts +185 -1
  158. package/src/routing/metadata-files.ts +1 -1
  159. package/src/runtime/loader.ts +5 -3
  160. package/src/runtime/module-cache.ts +2 -1
  161. package/src/runtime/modules.ts +50 -16
  162. package/src/runtime/prebundle.ts +23 -3
  163. package/src/runtime/production.ts +105 -40
  164. package/src/runtime/release-graph.ts +21 -13
  165. package/src/runtime/vendor-build.ts +45 -23
  166. package/src/types.ts +2 -3
  167. package/src/utils/directive.ts +40 -0
  168. package/src/utils/fs.ts +7 -2
  169. package/src/utils/resource-query.ts +12 -0
  170. package/dist/server/_chunks/index-tqn2qnnn.js +0 -241
  171. package/dist/server/_chunks/index-y36a0ybw.js +0 -57
  172. package/src/cli/serve/entry.ts +0 -52
@@ -17,36 +17,38 @@ import {
17
17
  setEmitCompiledSpecifiersManifest,
18
18
  setReleaseCompile,
19
19
  warmDevModulePipeline
20
- } from "./index-1011cscr.js";
20
+ } from "./index-4vf121ws.js";
21
21
  import"./index-n4hxpng2.js";
22
22
  import"./index-x3yn4ywm.js";
23
- import"./index-vvmmknm1.js";
24
- import"./index-91x12ykq.js";
23
+ import"./index-da0fphj0.js";
24
+ import"./index-0r5eqfc7.js";
25
25
  import {
26
26
  importModuleOnce,
27
27
  isReleaseCompile,
28
28
  throwIfModuleGraphFailed
29
- } from "./index-3xbr4eyv.js";
30
- import"./index-rn8dyr1f.js";
29
+ } from "./index-912z4mfx.js";
30
+ import"./index-42fef2rv.js";
31
+ import"./index-jbj7ehef.js";
31
32
  import"./index-73z4esab.js";
32
33
  import"./index-web361b8.js";
33
34
  import"./index-knp0s912.js";
34
- import"./index-c0g2wf3z.js";
35
+ import"./index-md5jchzy.js";
35
36
  import"./index-cjgqs13g.js";
36
- import"./index-20ppawv7.js";
37
+ import"./index-4qsce64w.js";
37
38
  import"./index-vz0km5qk.js";
38
- import"./index-y36a0ybw.js";
39
- import"./index-x93hv0sc.js";
40
- import"./index-tqn2qnnn.js";
39
+ import"./index-zedjt25v.js";
40
+ import"./index-bzd2ef7t.js";
41
+ import"./index-fpghsgb4.js";
41
42
  import"./index-6kp9r0d9.js";
42
43
  import"./index-ras0sdab.js";
43
44
  import"./index-grta8ap3.js";
44
45
  import"./index-kresp2n8.js";
45
46
  import"./index-e3a6yx84.js";
46
- import"./index-z4z9zv3b.js";
47
- import"./index-yz54pxrh.js";
47
+ import"./index-x9c55pzy.js";
48
+ import"./index-d1jsmhhk.js";
48
49
  import"./index-7wc9n8be.js";
49
50
  import"./index-pym1cezq.js";
51
+ import"./index-jt8e1pje.js";
50
52
  import"./index-zqpqyg8p.js";
51
53
  import"./index-qjj6gddn.js";
52
54
  import"./index-rt9qq1va.js";
@@ -17,24 +17,24 @@ import {
17
17
  renderGlobalNotFoundResponse,
18
18
  renderPageResponse,
19
19
  renderPageWithStatus
20
- } from "./index-3tf1xjsp.js";
20
+ } from "./index-yghskk8w.js";
21
21
  import {
22
22
  normalizePathname,
23
23
  parseNavState,
24
24
  selectRouteForRequest
25
- } from "./index-jepjvcrf.js";
25
+ } from "./index-aarf1brn.js";
26
26
  import {
27
27
  applyProxyResponse,
28
28
  createProxyRunner
29
- } from "./index-kq8kpzye.js";
29
+ } from "./index-vqs3rebe.js";
30
30
  import {
31
31
  importModuleOnce,
32
32
  registerServerRuntime,
33
33
  serverBundleTargetForRuntime
34
- } from "./index-3xbr4eyv.js";
34
+ } from "./index-912z4mfx.js";
35
35
  import {
36
36
  publishEmittedAssets
37
- } from "./index-y2jr2n72.js";
37
+ } from "./index-xrsg0041.js";
38
38
  import {
39
39
  getRenderSpanExtensions
40
40
  } from "./index-web361b8.js";
@@ -43,29 +43,32 @@ import {
43
43
  setRequestRuntime
44
44
  } from "./index-z88qv16t.js";
45
45
  import"./index-yhxkxghe.js";
46
- import"./index-fkp000p1.js";
47
- import"./index-p77b4kcx.js";
46
+ import"./index-jjppzw0s.js";
47
+ import"./index-veycp46e.js";
48
48
  import {
49
49
  exactNameIndex,
50
50
  hasExactName,
51
51
  resolveManifest
52
- } from "./index-20ppawv7.js";
52
+ } from "./index-4qsce64w.js";
53
53
  import"./index-vz0km5qk.js";
54
54
  import {
55
55
  abortUpstreamFetchOnDisconnect,
56
56
  bootstrapCompat
57
- } from "./index-5gyr4emz.js";
57
+ } from "./index-yzcpr3yw.js";
58
58
  import {
59
59
  loadConfig,
60
60
  pathToFileHref
61
- } from "./index-x93hv0sc.js";
61
+ } from "./index-zedjt25v.js";
62
+ import"./index-bzd2ef7t.js";
62
63
  import {
63
64
  markErrorLogged
64
65
  } from "./index-jcsjq3d1.js";
65
66
  import {
66
67
  attachRelease,
68
+ buildManifestFile,
69
+ releaseFrameworkRoot,
67
70
  releaseModuleHref
68
- } from "./index-tqn2qnnn.js";
71
+ } from "./index-fpghsgb4.js";
69
72
  import"./index-ras0sdab.js";
70
73
  import {
71
74
  flushWorkUnit,
@@ -79,6 +82,7 @@ import {
79
82
  import"./index-kresp2n8.js";
80
83
  import"./index-e3a6yx84.js";
81
84
  import"./index-pym1cezq.js";
85
+ import"./index-jt8e1pje.js";
82
86
  import {
83
87
  finalizeResponse,
84
88
  getProxyExtensions,
@@ -110,8 +114,8 @@ import { runWithCacheScope } from "../../../src/request/cache.ts";
110
114
  async function createRequestHandler(options = {}) {
111
115
  const config = options.config ?? await loadConfig(options.root, { serve: true });
112
116
  await bootstrapCompat(config);
113
- const manifestPath = path.join(config.outPath, "manifest.json");
114
- const manifest = resolveManifest(options.manifest ?? JSON.parse(await readFile(manifestPath, "utf8")), config.outPath, config.root);
117
+ const manifestPath = buildManifestFile(config.outPath);
118
+ const manifest = resolveManifest(options.manifest ?? JSON.parse(await readFile(manifestPath, "utf8")), config.outPath, config.root, releaseFrameworkRoot(config.outPath));
115
119
  const release = attachRelease(config);
116
120
  release.staticMetadataFiles = manifest.staticMetadataFiles;
117
121
  const handlerHrefs = new Map(manifest.routes.filter((route) => route.kind === "handler").map((route) => [
@@ -403,7 +407,7 @@ async function createRequestHandler(options = {}) {
403
407
  throw new Error("unsafe path");
404
408
  await mkdir(path.dirname(file), { recursive: true });
405
409
  await writeFile(file, new Uint8Array(await handlerResponse.clone().arrayBuffer()));
406
- const relative = path.relative(path.join(config.outPath, "public"), file).split(path.sep).join("/");
410
+ const relative = path.relative(path.join(config.outPath, "static"), file).split(path.sep).join("/");
407
411
  const routeRevalidate = matched.route.segmentConfig?.revalidate;
408
412
  const revalidateSeconds = typeof routeRevalidate === "number" && routeRevalidate > 0 ? renderedHandler.revalidateSeconds === undefined ? routeRevalidate : Math.min(routeRevalidate, renderedHandler.revalidateSeconds) : renderedHandler.revalidateSeconds;
409
413
  manifest.staticFiles ??= {};
@@ -481,7 +485,7 @@ async function createRequestHandler(options = {}) {
481
485
  throw new Error("unsafe path");
482
486
  await mkdir(path.dirname(file), { recursive: true });
483
487
  await writeFile(file, await pageResponse.clone().text());
484
- const relative = path.relative(path.join(config.outPath, "public"), file).split(path.sep).join("/");
488
+ const relative = path.relative(path.join(config.outPath, "static"), file).split(path.sep).join("/");
485
489
  manifest.staticFiles ??= {};
486
490
  manifest.staticFiles[relative] = {
487
491
  status: 200,
@@ -611,16 +615,16 @@ function hasBuildCapturedCacheControl(metadata) {
611
615
  return (metadata?.headers ?? []).some(([key]) => key.toLowerCase() === "cache-control");
612
616
  }
613
617
  async function builtFileInfo(outPath, pathname, staticFiles = {}, nextStaticFallback = false, exactNames) {
614
- const file = await firstFile(path.join(outPath, "public"), builtFileCandidates(outPath, pathname, nextStaticFallback), exactNames);
618
+ const file = await firstFile(path.join(outPath, "static"), builtFileCandidates(outPath, pathname, nextStaticFallback), exactNames);
615
619
  if (!file)
616
620
  return null;
617
- const publicPath = path.join(outPath, "public");
621
+ const publicPath = path.join(outPath, "static");
618
622
  const fileStat = await stat(file);
619
623
  const relative = path.relative(publicPath, file).split(path.sep).join("/");
620
624
  return { file, relative, mtimeMs: fileStat.mtimeMs, metadata: staticFiles[relative] };
621
625
  }
622
626
  function builtFileCandidates(outPath, pathname, nextStaticFallback = false) {
623
- const publicPath = path.join(outPath, "public");
627
+ const publicPath = path.join(outPath, "static");
624
628
  const trimmed = pathname.replace(/^\/+/, "");
625
629
  if (pathname === "/")
626
630
  return [path.join(publicPath, "index.html")];
@@ -642,7 +646,7 @@ function builtFileCandidates(outPath, pathname, nextStaticFallback = false) {
642
646
  return candidates;
643
647
  }
644
648
  function lazyStaticHtmlPath(outPath, pathname) {
645
- const publicPath = path.join(outPath, "public");
649
+ const publicPath = path.join(outPath, "static");
646
650
  const file = pathname === "/" ? path.join(publicPath, "index.html") : path.join(publicPath, pathname.replace(/^\/+|\/+$/g, ""), "index.html");
647
651
  const relative = path.relative(publicPath, file);
648
652
  if (relative.startsWith("..") || path.isAbsolute(relative))
@@ -652,7 +656,7 @@ function lazyStaticHtmlPath(outPath, pathname) {
652
656
  function lazyStaticHandlerPath(outPath, pathname) {
653
657
  if (pathname === "/")
654
658
  return null;
655
- const publicPath = path.join(outPath, "public");
659
+ const publicPath = path.join(outPath, "static");
656
660
  const file = path.join(publicPath, pathname.replace(/^\/+|\/+$/g, ""));
657
661
  const relative = path.relative(publicPath, file);
658
662
  if (relative.startsWith("..") || path.isAbsolute(relative))
@@ -696,7 +700,7 @@ async function maybeBuiltFile(outPath, pathname, staticFiles = {}, method = "GET
696
700
  const normalizedMethod = method.toUpperCase();
697
701
  if (normalizedMethod !== "GET" && normalizedMethod !== "HEAD")
698
702
  return null;
699
- const publicPath = path.join(outPath, "public");
703
+ const publicPath = path.join(outPath, "static");
700
704
  const file = await firstFile(publicPath, builtFileCandidates(outPath, pathname, nextStaticFallback), exactNames);
701
705
  if (!file)
702
706
  return null;
@@ -3,42 +3,53 @@ import {
3
3
  BUILD_INDEX_VERSION,
4
4
  attachRelease,
5
5
  buildIndexFile,
6
+ buildManifestFile,
6
7
  captureConventions,
7
8
  conventionFileExists,
8
9
  frozenDirListing,
9
- locateRelease,
10
+ linkStandaloneOrigins,
10
11
  productionRelease,
11
12
  readBuildIndex,
12
13
  releaseConfig,
14
+ releaseFrameworkRoot,
13
15
  releaseModuleHref,
14
16
  releaseModuleKey,
15
17
  releaseSourceFile,
16
18
  releaseSourceKey,
19
+ releaseSourceRoot,
17
20
  serializeReleaseConfig,
18
21
  servedAppFiles,
19
22
  servedConventions,
20
23
  servedRelease,
24
+ servingReleaseDir,
25
+ standaloneOriginsFile,
21
26
  writeBuildIndex
22
- } from "./index-tqn2qnnn.js";
27
+ } from "./index-fpghsgb4.js";
28
+ import"./index-jt8e1pje.js";
23
29
  import"./index-rt9qq1va.js";
24
30
  export {
25
31
  BUILD_INDEX_VERSION,
26
32
  attachRelease,
27
33
  buildIndexFile,
34
+ buildManifestFile,
28
35
  captureConventions,
29
36
  conventionFileExists,
30
37
  frozenDirListing,
31
- locateRelease,
38
+ linkStandaloneOrigins,
32
39
  productionRelease,
33
40
  readBuildIndex,
34
41
  releaseConfig,
42
+ releaseFrameworkRoot,
35
43
  releaseModuleHref,
36
44
  releaseModuleKey,
37
45
  releaseSourceFile,
38
46
  releaseSourceKey,
47
+ releaseSourceRoot,
39
48
  serializeReleaseConfig,
40
49
  servedAppFiles,
41
50
  servedConventions,
42
51
  servedRelease,
52
+ servingReleaseDir,
53
+ standaloneOriginsFile,
43
54
  writeBuildIndex
44
55
  };
@@ -2,16 +2,18 @@
2
2
  import {
3
3
  releasedProxy,
4
4
  staticProxyConfig
5
- } from "./index-tvqkq6e6.js";
6
- import"./index-kq8kpzye.js";
7
- import"./index-3xbr4eyv.js";
8
- import"./index-x93hv0sc.js";
9
- import"./index-tqn2qnnn.js";
5
+ } from "./index-n814hcky.js";
6
+ import"./index-vqs3rebe.js";
7
+ import"./index-912z4mfx.js";
8
+ import"./index-zedjt25v.js";
9
+ import"./index-bzd2ef7t.js";
10
+ import"./index-fpghsgb4.js";
10
11
  import"./index-grta8ap3.js";
11
12
  import"./index-kresp2n8.js";
12
13
  import"./index-e3a6yx84.js";
13
14
  import"./index-7wc9n8be.js";
14
15
  import"./index-pym1cezq.js";
16
+ import"./index-jt8e1pje.js";
15
17
  import"./index-zqpqyg8p.js";
16
18
  import"./index-qjj6gddn.js";
17
19
  import"./index-rt9qq1va.js";
@@ -1,30 +1,32 @@
1
1
  // @bun
2
2
  import {
3
3
  registerProxyExtensions
4
- } from "./index-sv8m6789.js";
4
+ } from "./index-cqcwwxfp.js";
5
5
  import"./index-2wfv4kvx.js";
6
- import"./index-eeaanp2e.js";
7
- import"./index-kq8kpzye.js";
8
- import"./index-3xbr4eyv.js";
6
+ import"./index-0qt2vapb.js";
7
+ import"./index-vqs3rebe.js";
8
+ import"./index-912z4mfx.js";
9
9
  import"./index-6q7zvrap.js";
10
- import"./index-6e4fqv30.js";
10
+ import"./index-m63czgq5.js";
11
11
  import"./index-cjgqs13g.js";
12
12
  import"./index-jks0x0a1.js";
13
13
  import"./index-6b009mt0.js";
14
14
  import"./index-4zzebszd.js";
15
15
  import"./index-sq3kvz3g.js";
16
16
  import"./index-ckkdpht5.js";
17
- import"./index-20ppawv7.js";
18
- import"./index-x93hv0sc.js";
19
- import"./index-tqn2qnnn.js";
17
+ import"./index-4qsce64w.js";
18
+ import"./index-zedjt25v.js";
19
+ import"./index-bzd2ef7t.js";
20
+ import"./index-fpghsgb4.js";
20
21
  import"./index-en7n9f7m.js";
21
22
  import"./index-grta8ap3.js";
22
23
  import"./index-kresp2n8.js";
23
24
  import"./index-e3a6yx84.js";
24
- import"./index-z4z9zv3b.js";
25
- import"./index-yz54pxrh.js";
25
+ import"./index-x9c55pzy.js";
26
+ import"./index-d1jsmhhk.js";
26
27
  import"./index-7wc9n8be.js";
27
28
  import"./index-pym1cezq.js";
29
+ import"./index-jt8e1pje.js";
28
30
  import"./index-zqpqyg8p.js";
29
31
  import"./index-qjj6gddn.js";
30
32
  import"./index-rt9qq1va.js";
@@ -3,10 +3,11 @@ import { join as __pnextJoin } from "node:path";
3
3
  const __PNEXT_PACKAGE_ROOT__ = __pnextJoin(import.meta.dirname, "../../..");
4
4
  import {
5
5
  hasUseClientDirective
6
- } from "./index-rn8dyr1f.js";
6
+ } from "./index-42fef2rv.js";
7
+ import"./index-jbj7ehef.js";
7
8
  import {
8
9
  getNextConfig
9
- } from "./index-6e4fqv30.js";
10
+ } from "./index-m63czgq5.js";
10
11
  import"./index-cjgqs13g.js";
11
12
  import"./index-jks0x0a1.js";
12
13
  import"./index-6b009mt0.js";
@@ -17,17 +18,19 @@ import {
17
18
  listFiles,
18
19
  listFilesSync,
19
20
  toPosixPath
20
- } from "./index-20ppawv7.js";
21
- import"./index-x93hv0sc.js";
22
- import"./index-tqn2qnnn.js";
21
+ } from "./index-4qsce64w.js";
22
+ import"./index-zedjt25v.js";
23
+ import"./index-bzd2ef7t.js";
24
+ import"./index-fpghsgb4.js";
23
25
  import"./index-ras0sdab.js";
24
26
  import"./index-grta8ap3.js";
25
27
  import"./index-kresp2n8.js";
26
28
  import"./index-e3a6yx84.js";
27
- import"./index-z4z9zv3b.js";
28
- import"./index-yz54pxrh.js";
29
+ import"./index-x9c55pzy.js";
30
+ import"./index-d1jsmhhk.js";
29
31
  import"./index-7wc9n8be.js";
30
32
  import"./index-pym1cezq.js";
33
+ import"./index-jt8e1pje.js";
31
34
  import"./index-zqpqyg8p.js";
32
35
  import"./index-qjj6gddn.js";
33
36
  import"./index-rt9qq1va.js";
@@ -10,8 +10,8 @@ import {
10
10
  routeFactsVersion,
11
11
  scanRoutes,
12
12
  setRouteFactsStore
13
- } from "./index-8k7pfejn.js";
14
- import"./index-91x12ykq.js";
13
+ } from "./index-3r6qpe8a.js";
14
+ import"./index-0r5eqfc7.js";
15
15
  import {
16
16
  findConventionFiles,
17
17
  findGlobalError,
@@ -22,22 +22,24 @@ import {
22
22
  parseNavState,
23
23
  selectRouteForRequest,
24
24
  serverActionsUnsupportedMessage
25
- } from "./index-jepjvcrf.js";
26
- import"./index-2dv4y4wd.js";
25
+ } from "./index-aarf1brn.js";
26
+ import"./index-1y0cesgn.js";
27
27
  import"./index-73z4esab.js";
28
- import"./index-y2jr2n72.js";
28
+ import"./index-xrsg0041.js";
29
29
  import"./index-web361b8.js";
30
30
  import"./index-fp8r0sqs.js";
31
31
  import"./index-cjgqs13g.js";
32
- import"./index-p77b4kcx.js";
33
- import"./index-20ppawv7.js";
34
- import"./index-tqn2qnnn.js";
32
+ import"./index-veycp46e.js";
33
+ import"./index-4qsce64w.js";
34
+ import"./index-bzd2ef7t.js";
35
+ import"./index-fpghsgb4.js";
35
36
  import"./index-6kp9r0d9.js";
36
37
  import"./index-ras0sdab.js";
37
- import"./index-z4z9zv3b.js";
38
- import"./index-yz54pxrh.js";
38
+ import"./index-x9c55pzy.js";
39
+ import"./index-d1jsmhhk.js";
39
40
  import"./index-7wc9n8be.js";
40
41
  import"./index-pym1cezq.js";
42
+ import"./index-jt8e1pje.js";
41
43
  import"./index-zqpqyg8p.js";
42
44
  import"./index-qjj6gddn.js";
43
45
  import"./index-rt9qq1va.js";
@@ -1,17 +1,18 @@
1
1
  // @bun
2
2
  import {
3
3
  latestPnextVersionRange
4
- } from "./index-jx7bqvw1.js";
4
+ } from "./index-hr63fvzn.js";
5
5
  import {
6
6
  pnextOptionalDependencyRange
7
- } from "./index-20ppawv7.js";
8
- import"./index-tqn2qnnn.js";
7
+ } from "./index-4qsce64w.js";
8
+ import"./index-fpghsgb4.js";
9
9
  import {
10
10
  bold,
11
11
  cyan,
12
12
  dim,
13
13
  green
14
14
  } from "./index-6kp9r0d9.js";
15
+ import"./index-jt8e1pje.js";
15
16
  import {
16
17
  __require
17
18
  } from "./index-rt9qq1va.js";
@@ -265,7 +266,7 @@ var SEGMENT_HEADS = /export\s+default\s+(?:async\s+)?function\s*[\w$]*\s*\(|expo
265
266
  var ROUTE_HANDLER_HEADS = /export\s+(?:async\s+)?function\s+(?:GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS)\s*\(|export\s+const\s+(?:GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS)\s*(?::[^=]*)?=\s*(?:async\s*)?\(/g;
266
267
  var SYNC_PROPS = ["params", "searchParams"];
267
268
  async function scanSources(root, result) {
268
- const { SHIMMED_NEXT_DIST_PATHS } = await import("./aliases-j47a10ce.js");
269
+ const { SHIMMED_NEXT_DIST_PATHS } = await import("./aliases-fhv4dt06.js");
269
270
  const shimmed = new Set(SHIMMED_NEXT_DIST_PATHS);
270
271
  const deepImports = [];
271
272
  const streaming = [];