@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
@@ -6,7 +6,7 @@ import {
6
6
  } from "./index-qpwsgt3a.js";
7
7
  import {
8
8
  compileMdx
9
- } from "./index-qm6kmhqs.js";
9
+ } from "./index-y7mzvq2q.js";
10
10
  import {
11
11
  setClientActionBundler
12
12
  } from "./index-n4hxpng2.js";
@@ -16,7 +16,7 @@ import {
16
16
  protocolInterceptors,
17
17
  recordRewrite,
18
18
  registerProxyExtensions
19
- } from "./index-sv8m6789.js";
19
+ } from "./index-cqcwwxfp.js";
20
20
  import {
21
21
  instrumentationLookupRoots,
22
22
  instrumentationReady,
@@ -27,7 +27,7 @@ import {
27
27
  registerCompatBootExtensions,
28
28
  registerLifecycleExtensions,
29
29
  reportActionErrorToUser
30
- } from "./index-k1g3epw0.js";
30
+ } from "./index-xs3411qh.js";
31
31
  import {
32
32
  activateTestProxy
33
33
  } from "./index-2wfv4kvx.js";
@@ -70,7 +70,7 @@ import {
70
70
  withPagesDataSpan,
71
71
  withRenderBodySpan,
72
72
  withRouteHandlerSpan
73
- } from "./index-4q2gbfwk.js";
73
+ } from "./index-qjrh7w2g.js";
74
74
  import {
75
75
  scanRootParams
76
76
  } from "./index-v1ags1na.js";
@@ -88,7 +88,7 @@ import {
88
88
  schedulePprShellUpgrade,
89
89
  staticParamsFor,
90
90
  withRequestRouteParams
91
- } from "./index-3tf1xjsp.js";
91
+ } from "./index-yghskk8w.js";
92
92
  import {
93
93
  builtInServerExternalPackages,
94
94
  cacheComponentsEnabled,
@@ -107,12 +107,12 @@ import {
107
107
  tsconfigPath,
108
108
  turbopackLoaderRules,
109
109
  turbopackResolveAlias
110
- } from "./index-danncfhy.js";
110
+ } from "./index-wm36rj4v.js";
111
111
  import {
112
112
  matchInterception,
113
113
  parseNavState,
114
114
  selectRouteForRequest
115
- } from "./index-jepjvcrf.js";
115
+ } from "./index-aarf1brn.js";
116
116
  import {
117
117
  actionClientStubPlugin,
118
118
  actionStubSourceFor,
@@ -129,25 +129,26 @@ import {
129
129
  nextCompatEnabled as nextCompatEnabled2,
130
130
  rewriteNextFontSource,
131
131
  setClientActionModules
132
- } from "./index-eeaanp2e.js";
132
+ } from "./index-0qt2vapb.js";
133
133
  import {
134
134
  setProxyRunObserver
135
- } from "./index-kq8kpzye.js";
135
+ } from "./index-vqs3rebe.js";
136
136
  import {
137
137
  devServerModuleHref,
138
138
  pagesApiBundleTargetForRuntime,
139
139
  serverBundleTargetForRuntime,
140
140
  setServerBundleConditions
141
- } from "./index-3xbr4eyv.js";
141
+ } from "./index-912z4mfx.js";
142
142
  import {
143
143
  registerConfigSource
144
- } from "./index-ncnes8c6.js";
144
+ } from "./index-47gx7trn.js";
145
145
  import {
146
146
  hasUseClientDirective
147
- } from "./index-rn8dyr1f.js";
147
+ } from "./index-42fef2rv.js";
148
+ import"./index-jbj7ehef.js";
148
149
  import {
149
150
  withAssetPrefix
150
- } from "./index-y2jr2n72.js";
151
+ } from "./index-xrsg0041.js";
151
152
  import {
152
153
  getDocumentScriptExtensions,
153
154
  nextCompatEnabled,
@@ -179,7 +180,7 @@ import {
179
180
  appPathname,
180
181
  loadCompatHeaders,
181
182
  resolveCompatHeaders
182
- } from "./index-egykcqg3.js";
183
+ } from "./index-jexsy9a8.js";
183
184
  import {
184
185
  fontAssets,
185
186
  fontPreloadDomScript,
@@ -188,22 +189,22 @@ import {
188
189
  registerFontFinalizerOnce,
189
190
  releaseFonts,
190
191
  runWithFontScope
191
- } from "./index-ytjvpbm2.js";
192
- import"./index-3b3at80h.js";
192
+ } from "./index-26gwrm07.js";
193
+ import"./index-s61bx2aj.js";
193
194
  import"./index-knp0s912.js";
194
- import"./index-c0g2wf3z.js";
195
+ import"./index-md5jchzy.js";
195
196
  import"./index-fn1chkkd.js";
196
197
  import {
197
198
  renderPartytownHeadScripts
198
- } from "./index-sjpckxqn.js";
199
+ } from "./index-9f49w76j.js";
199
200
  import"./index-ye9hmsvf.js";
200
201
  import {
201
202
  staticImageModule
202
- } from "./index-06nyqntx.js";
203
+ } from "./index-q3r9z8mq.js";
203
204
  import {
204
205
  loadCompatRedirects,
205
206
  resolveCompatRedirect
206
- } from "./index-hkdfj58q.js";
207
+ } from "./index-y9bygr95.js";
207
208
  import {
208
209
  ACTION_ID_FIELD,
209
210
  ACTION_ID_HEADER,
@@ -240,7 +241,7 @@ import {
240
241
  serializeBoundaryError,
241
242
  validateServerActionsConfigSync,
242
243
  wrapThrownValue
243
- } from "./index-z84ab1w0.js";
244
+ } from "./index-e176wk6x.js";
244
245
  import {
245
246
  inlineUseServerFunctions,
246
247
  moduleActionExports,
@@ -251,17 +252,17 @@ import {
251
252
  import"./index-79ngvam8.js";
252
253
  import {
253
254
  registerResourceHintFinalizer
254
- } from "./index-ym67zqxp.js";
255
+ } from "./index-tf4j19ge.js";
255
256
  import {
256
257
  isImageOptimizerRequest,
257
258
  serveImageOptimizer
258
- } from "./index-qn4z5s3c.js";
259
+ } from "./index-typcbcsv.js";
259
260
  import {
260
261
  manifestLocalPatterns
261
262
  } from "./index-tgsfjmep.js";
262
263
  import {
263
264
  getImagesConfig
264
- } from "./index-357na4a8.js";
265
+ } from "./index-141vcwk6.js";
265
266
  import {
266
267
  NEXT_ROUTER_PREFETCH_HEADER,
267
268
  NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,
@@ -288,11 +289,11 @@ import {
288
289
  setUseCacheFillTimeout,
289
290
  setUseCacheRootParamNames,
290
291
  takeCacheLifeStash
291
- } from "./index-eajaspjk.js";
292
+ } from "./index-j0m1jxqa.js";
292
293
  import {
293
294
  nextClientRouteState,
294
295
  staticSiblingNames
295
- } from "./index-cf4rvxv6.js";
296
+ } from "./index-52k54ykj.js";
296
297
  import {
297
298
  getRequestRuntime
298
299
  } from "./index-z88qv16t.js";
@@ -306,7 +307,7 @@ import {
306
307
  import"./index-2vz0wzdn.js";
307
308
  import {
308
309
  withSyncProps
309
- } from "./index-0374j2b9.js";
310
+ } from "./index-y4d02znn.js";
310
311
  import {
311
312
  beginPrerenderErrorCollection,
312
313
  collectRenderCacheMeta,
@@ -333,7 +334,7 @@ import {
333
334
  tagsRevalidatedSince,
334
335
  tagsRevalidationReasonSince,
335
336
  tagsStaleSince
336
- } from "./index-9n2914ww.js";
337
+ } from "./index-akkrvjn6.js";
337
338
  import {
338
339
  cacheHandlerGet,
339
340
  cacheHandlerSet,
@@ -342,7 +343,7 @@ import {
342
343
  } from "./index-bcws5eh2.js";
343
344
  import {
344
345
  getNextConfig
345
- } from "./index-6e4fqv30.js";
346
+ } from "./index-m63czgq5.js";
346
347
  import {
347
348
  build
348
349
  } from "./index-cjgqs13g.js";
@@ -354,22 +355,26 @@ import"./index-ckkdpht5.js";
354
355
  import"./index-yhxkxghe.js";
355
356
  import {
356
357
  taintObjectReference
357
- } from "./index-fkp000p1.js";
358
- import"./index-p77b4kcx.js";
358
+ } from "./index-jjppzw0s.js";
359
+ import"./index-veycp46e.js";
359
360
  import {
360
361
  cssModuleScopePath,
361
362
  listFilesSync,
362
363
  toPosixPath
363
- } from "./index-20ppawv7.js";
364
+ } from "./index-4qsce64w.js";
364
365
  import"./index-vz0km5qk.js";
365
366
  import {
366
367
  pathToFileHref,
367
368
  publicEnvDefines
368
- } from "./index-x93hv0sc.js";
369
+ } from "./index-zedjt25v.js";
370
+ import {
371
+ outCachePath
372
+ } from "./index-bzd2ef7t.js";
369
373
  import"./index-jcsjq3d1.js";
370
374
  import {
375
+ buildManifestFile,
371
376
  productionRelease
372
- } from "./index-tqn2qnnn.js";
377
+ } from "./index-fpghsgb4.js";
373
378
  import {
374
379
  clientReferenceId
375
380
  } from "./index-ras0sdab.js";
@@ -393,13 +398,13 @@ import {
393
398
  import"./index-e3a6yx84.js";
394
399
  import {
395
400
  rewriteLegacyLinkValidation
396
- } from "./index-11sfk4hb.js";
401
+ } from "./index-vmr35jjw.js";
397
402
  import {
398
403
  importSpecifiers,
399
404
  rewriteFacts,
400
405
  rewriteSpecifierLiterals,
401
406
  spliceSource
402
- } from "./index-z4z9zv3b.js";
407
+ } from "./index-x9c55pzy.js";
403
408
  import {
404
409
  configuredTsPathPatterns,
405
410
  isCommonJsModuleSource,
@@ -420,13 +425,14 @@ import {
420
425
  setExternalPackagePolicy,
421
426
  setResolveExtensions,
422
427
  setTsConfigPath
423
- } from "./index-yz54pxrh.js";
428
+ } from "./index-d1jsmhhk.js";
424
429
  import {
425
430
  loadNative
426
431
  } from "./index-7wc9n8be.js";
427
432
  import {
428
433
  findWorkspaceRoot
429
434
  } from "./index-pym1cezq.js";
435
+ import"./index-jt8e1pje.js";
430
436
  import {
431
437
  applyClientSourceTransforms,
432
438
  getAssetExtensions,
@@ -3263,7 +3269,7 @@ async function ensureActionsRegistered(runtime) {
3263
3269
  await manifestRegistration.done;
3264
3270
  }
3265
3271
  async function registerManifestActions(config) {
3266
- const manifestPath = path5.join(config.outPath, "manifest.json");
3272
+ const manifestPath = buildManifestFile(config.outPath);
3267
3273
  let manifest;
3268
3274
  try {
3269
3275
  manifest = JSON.parse(await readFile2(manifestPath, "utf8"));
@@ -3381,7 +3387,7 @@ function requestWouldMiss(config, pathname) {
3381
3387
  return !servableFile(config, pathname);
3382
3388
  }
3383
3389
  function servableFile(config, pathname) {
3384
- const publicRoot = path5.join(config.outPath, "public");
3390
+ const publicRoot = path5.join(config.outPath, "static");
3385
3391
  const trimmed = pathname.replace(/^\/+|\/+$/g, "");
3386
3392
  const file = trimmed ? path5.join(publicRoot, trimmed) : publicRoot;
3387
3393
  const relative = path5.relative(publicRoot, file);
@@ -3897,7 +3903,7 @@ async function writeImagesManifestStep(ctx) {
3897
3903
  async function mirrorStaticMedia(config) {
3898
3904
  const { cp } = await import("fs/promises");
3899
3905
  for (const dir of ["media", "immutable/media"]) {
3900
- const source = path8.join(config.outPath, "public", "_next", "static", dir);
3906
+ const source = path8.join(config.outPath, "static", "_next", "static", dir);
3901
3907
  const target = path8.join(config.root, ".next", "static", dir);
3902
3908
  try {
3903
3909
  await cp(source, target, { recursive: true, force: true });
@@ -4867,10 +4873,10 @@ async function buildInstrumentationClient(config) {
4867
4873
  if (!userFile)
4868
4874
  return;
4869
4875
  const modules = [...injectEntries(config), userFile];
4870
- const workDir = path10.join(config.outPath, "cache", "instrumentation-client");
4876
+ const workDir = path10.join(outCachePath(config.outPath), "instrumentation-client");
4871
4877
  mkdirSync(workDir, { recursive: true });
4872
4878
  const entryFile = path10.join(workDir, "entry.ts");
4873
- const outfile = path10.join(config.outPath, "public", INSTRUMENTATION_CLIENT_ASSET);
4879
+ const outfile = path10.join(config.outPath, "static", INSTRUMENTATION_CLIENT_ASSET);
4874
4880
  mkdirSync(path10.dirname(outfile), { recursive: true });
4875
4881
  await Bun.write(entryFile, entrySource(modules));
4876
4882
  const tsconfig = path10.join(config.root, "tsconfig.json");
@@ -4890,7 +4896,7 @@ async function buildInstrumentationClient(config) {
4890
4896
  }
4891
4897
  var bundlePresence;
4892
4898
  function hasInstrumentationClientBundle(config) {
4893
- bundlePresence ??= existsSync6(path10.join(config.outPath, "public", INSTRUMENTATION_CLIENT_ASSET));
4899
+ bundlePresence ??= existsSync6(path10.join(config.outPath, "static", INSTRUMENTATION_CLIENT_ASSET));
4894
4900
  return bundlePresence;
4895
4901
  }
4896
4902
  function instrumentationClientHeadTag(config) {
@@ -5419,7 +5425,7 @@ function inlineStyleTag(css, nonce) {
5419
5425
  function inlineCssStylesheets(config, options) {
5420
5426
  if (options.dev || suppressed.getStore() === true || !inlineCssEnabled(config))
5421
5427
  return;
5422
- const assets = options.assetNames.map((asset) => readCss(`${config.outPath}/public/assets/${asset}`));
5428
+ const assets = options.assetNames.map((asset) => readCss(`${config.outPath}/static/assets/${asset}`));
5423
5429
  if (assets.some((css2) => css2 === undefined))
5424
5430
  return;
5425
5431
  const css = [options.prependCss, ...assets].filter(Boolean).join(`
@@ -8091,7 +8097,7 @@ function resolveContextDir(specifier, file, paths) {
8091
8097
  if (existsSync11(direct))
8092
8098
  return direct;
8093
8099
  if (paths?.outPath && paths.workspaceRoot) {
8094
- const cacheRoot = path18.join(paths.outPath, "cache", "server");
8100
+ const cacheRoot = path18.join(outCachePath(paths.outPath), "server");
8095
8101
  const relative = path18.relative(cacheRoot, file);
8096
8102
  if (relative && !relative.startsWith("..") && !path18.isAbsolute(relative)) {
8097
8103
  const segments = relative.split(path18.sep);
@@ -8472,7 +8478,7 @@ function resolveLoaderRequest(root, context, request) {
8472
8478
  }
8473
8479
  function originalResourcePath(resourcePath, config) {
8474
8480
  if (config) {
8475
- const cacheRoot = path22.join(config.outPath, "cache", "server");
8481
+ const cacheRoot = path22.join(outCachePath(config.outPath), "server");
8476
8482
  const rel = path22.relative(cacheRoot, resourcePath);
8477
8483
  if (rel && !rel.startsWith("..") && !path22.isAbsolute(rel)) {
8478
8484
  const segments = rel.split(path22.sep);
@@ -8566,7 +8572,7 @@ async function emitAssetResourceModule(config, resourcePath, bytes) {
8566
8572
  const hash = createHash2("sha256").update(bytes).digest("hex").slice(0, 8);
8567
8573
  const base = path22.basename(resourcePath, path22.extname(resourcePath)).replace(/[^A-Za-z0-9_-]+/g, "-");
8568
8574
  const relative = path22.posix.join("_next", "static", "media", `${base}.${hash}${ext}`);
8569
- const target = path22.join(config.outPath, "public", ...relative.split("/"));
8575
+ const target = path22.join(config.outPath, "static", ...relative.split("/"));
8570
8576
  await mkdir4(path22.dirname(target), { recursive: true });
8571
8577
  if (!existsSync13(target))
8572
8578
  await writeFile5(target, bytes);
@@ -8849,7 +8855,7 @@ export { src };
8849
8855
  `;
8850
8856
  }
8851
8857
  for (const relative of emitted) {
8852
- const target = path23.join(config.outPath, "public", ...relative.split("/"));
8858
+ const target = path23.join(config.outPath, "static", ...relative.split("/"));
8853
8859
  await mkdir5(path23.dirname(target), { recursive: true });
8854
8860
  if (!existsSync14(target))
8855
8861
  await copyFile(sourcePath, target);
@@ -8908,7 +8914,7 @@ async function bundleWorkerEntry(config, entry) {
8908
8914
  const hash = createHash3("sha256").update(output.contents).digest("hex").slice(0, 8);
8909
8915
  const base = path23.basename(entry, path23.extname(entry)).replace(/[^A-Za-z0-9_-]+/g, "-");
8910
8916
  const relative = path23.posix.join("assets", "workers", `${base}.${hash}.js`);
8911
- const target = path23.join(config.outPath, "public", ...relative.split("/"));
8917
+ const target = path23.join(config.outPath, "static", ...relative.split("/"));
8912
8918
  await mkdir5(path23.dirname(target), { recursive: true });
8913
8919
  await writeFile6(target, output.contents);
8914
8920
  return `/${relative}`;
@@ -9394,7 +9400,7 @@ function registerEdgeRuntimeExtensions() {
9394
9400
 
9395
9401
  // src/compat/register/index.ts
9396
9402
  async function registerCompatExtensions(config, options = {}) {
9397
- const build2 = options.serve ? undefined : await import("./build-tier-m7yvqz61.js");
9403
+ const build2 = options.serve ? undefined : await import("./build-tier-qrkpfsk1.js");
9398
9404
  registerCompatBootExtensions(config);
9399
9405
  build2?.registerBuildCompatExtensions();
9400
9406
  registerConfigSource();
@@ -331,6 +331,8 @@ function mapOverrides(config) {
331
331
  overrides.productionBrowserSourceMaps = config.productionBrowserSourceMaps;
332
332
  if (typeof config.distDir === "string" && config.distDir.length > 0 && config.output !== "export") {
333
333
  overrides.outDir = config.distDir;
334
+ } else if (config.output === "standalone") {
335
+ overrides.outDir = ".next";
334
336
  }
335
337
  return overrides;
336
338
  }
@@ -6,7 +6,7 @@ import { createHash } from "crypto";
6
6
  import { mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "fs";
7
7
  import path from "path";
8
8
  import { fileURLToPath } from "url";
9
- var prebundleFingerprint = typeof { version: "0.1.7", fingerprint: "3e1b3462bd8a29ed", entries: ["cli/index", "cli/start", "client/reference", "api/client-cache", "compat/next/canonical-url", "compat/next/link-transform", "compat/next/client-navigation", "compat/next/og", "compat/next/link", "compat/next/usage", "compat/next/client-script", "compat/next/headers", "compat/next/custom-server", "compat/next/legacy-image", "compat/next/router", "compat/next/navigation", "compat/next/dist/server/web/spec-extension/unstable-no-store", "compat/next/dist/server/web/spec-extension/unstable-cache", "compat/next/dist/server/web/spec-extension/revalidate", "compat/next/dist/client/components/app-router-headers", "compat/next/web-vitals", "compat/next/root-params", "compat/next/route-state", "compat/next/server-only", "compat/next/client-server", "compat/next/legacy-request-apis", "compat/next/redirects", "compat/next/resource-hints", "compat/next/svgr", "compat/next/client-only", "compat/next/image/props", "compat/next/image/optimizer", "compat/next/image/validate", "compat/next/image/shared", "compat/next/image/patterns", "compat/next/image/config", "compat/next/image/client", "compat/next/image/static-metadata", "compat/next/user-agent", "compat/next/client-cache", "compat/next/head", "compat/next/dynamic", "compat/next/telemetry", "compat/next/offline", "compat/next/cache", "compat/next/constants", "compat/next/error", "compat/next/script", "compat/next/index", "compat/next/font/shared", "compat/next/font/runtime", "compat/next/font/google", "compat/next/font/cache", "compat/next/font/runtime-client", "compat/next/font/local", "compat/next/font/index", "compat/next/config-loader", "compat/next/config", "compat/next/image", "compat/next/server", "compat/next/rewrites", "compat/next/preferred-region", "compat/next/config-headers", "compat/next/form", "compat/react/dom", "compat/react/hooks-extra", "compat/react/react-server", "compat/react/dom-client", "compat/react/style-values", "compat/react/compiler-runtime", "compat/react/router-shim", "compat/react/dom-server", "compat/react/dom-react-server", "compat/react/server-component-use", "compat/react/action-state", "compat/react/client", "compat/react/client-lite", "compat/react/server-inserted-html", "compat/react/parity", "compat/react/preact", "compat/react/use", "compat/react/view-transition", "compat/react/internals", "compat/react/server"] } === "object" ? { version: "0.1.7", fingerprint: "3e1b3462bd8a29ed", entries: ["cli/index", "cli/start", "client/reference", "api/client-cache", "compat/next/canonical-url", "compat/next/link-transform", "compat/next/client-navigation", "compat/next/og", "compat/next/link", "compat/next/usage", "compat/next/client-script", "compat/next/headers", "compat/next/custom-server", "compat/next/legacy-image", "compat/next/router", "compat/next/navigation", "compat/next/dist/server/web/spec-extension/unstable-no-store", "compat/next/dist/server/web/spec-extension/unstable-cache", "compat/next/dist/server/web/spec-extension/revalidate", "compat/next/dist/client/components/app-router-headers", "compat/next/web-vitals", "compat/next/root-params", "compat/next/route-state", "compat/next/server-only", "compat/next/client-server", "compat/next/legacy-request-apis", "compat/next/redirects", "compat/next/resource-hints", "compat/next/svgr", "compat/next/client-only", "compat/next/image/props", "compat/next/image/optimizer", "compat/next/image/validate", "compat/next/image/shared", "compat/next/image/patterns", "compat/next/image/config", "compat/next/image/client", "compat/next/image/static-metadata", "compat/next/user-agent", "compat/next/client-cache", "compat/next/head", "compat/next/dynamic", "compat/next/telemetry", "compat/next/offline", "compat/next/cache", "compat/next/constants", "compat/next/error", "compat/next/script", "compat/next/index", "compat/next/font/shared", "compat/next/font/runtime", "compat/next/font/google", "compat/next/font/cache", "compat/next/font/runtime-client", "compat/next/font/local", "compat/next/font/index", "compat/next/config-loader", "compat/next/config", "compat/next/image", "compat/next/server", "compat/next/rewrites", "compat/next/preferred-region", "compat/next/config-headers", "compat/next/form", "compat/react/dom", "compat/react/hooks-extra", "compat/react/react-server", "compat/react/dom-client", "compat/react/style-values", "compat/react/compiler-runtime", "compat/react/router-shim", "compat/react/dom-server", "compat/react/dom-react-server", "compat/react/server-component-use", "compat/react/action-state", "compat/react/client", "compat/react/client-lite", "compat/react/server-inserted-html", "compat/react/parity", "compat/react/preact", "compat/react/use", "compat/react/view-transition", "compat/react/internals", "compat/react/server"] }.fingerprint : undefined;
9
+ var prebundleFingerprint = typeof { version: "0.1.9", fingerprint: "5c05030a635e53e4", entries: ["cli/index", "cli/start", "client/reference", "api/client-cache", "compat/next/canonical-url", "compat/next/link-transform", "compat/next/client-navigation", "compat/next/og", "compat/next/link", "compat/next/usage", "compat/next/client-script", "compat/next/headers", "compat/next/custom-server", "compat/next/legacy-image", "compat/next/router", "compat/next/navigation", "compat/next/dist/server/web/spec-extension/unstable-no-store", "compat/next/dist/server/web/spec-extension/unstable-cache", "compat/next/dist/server/web/spec-extension/revalidate", "compat/next/dist/client/components/app-router-headers", "compat/next/web-vitals", "compat/next/root-params", "compat/next/route-state", "compat/next/server-only", "compat/next/client-server", "compat/next/legacy-request-apis", "compat/next/redirects", "compat/next/resource-hints", "compat/next/svgr", "compat/next/client-only", "compat/next/image/props", "compat/next/image/optimizer", "compat/next/image/validate", "compat/next/image/shared", "compat/next/image/patterns", "compat/next/image/config", "compat/next/image/client", "compat/next/image/static-metadata", "compat/next/user-agent", "compat/next/client-cache", "compat/next/head", "compat/next/dynamic", "compat/next/telemetry", "compat/next/offline", "compat/next/cache", "compat/next/constants", "compat/next/error", "compat/next/script", "compat/next/index", "compat/next/font/shared", "compat/next/font/runtime", "compat/next/font/google", "compat/next/font/cache", "compat/next/font/runtime-client", "compat/next/font/local", "compat/next/font/index", "compat/next/config-loader", "compat/next/config", "compat/next/image", "compat/next/server", "compat/next/rewrites", "compat/next/preferred-region", "compat/next/config-headers", "compat/next/form", "compat/react/dom", "compat/react/hooks-extra", "compat/react/react-server", "compat/react/dom-client", "compat/react/style-values", "compat/react/compiler-runtime", "compat/react/router-shim", "compat/react/dom-server", "compat/react/dom-react-server", "compat/react/server-component-use", "compat/react/action-state", "compat/react/client", "compat/react/client-lite", "compat/react/server-inserted-html", "compat/react/parity", "compat/react/preact", "compat/react/use", "compat/react/view-transition", "compat/react/internals", "compat/react/server"] } === "object" ? { version: "0.1.9", fingerprint: "5c05030a635e53e4", entries: ["cli/index", "cli/start", "client/reference", "api/client-cache", "compat/next/canonical-url", "compat/next/link-transform", "compat/next/client-navigation", "compat/next/og", "compat/next/link", "compat/next/usage", "compat/next/client-script", "compat/next/headers", "compat/next/custom-server", "compat/next/legacy-image", "compat/next/router", "compat/next/navigation", "compat/next/dist/server/web/spec-extension/unstable-no-store", "compat/next/dist/server/web/spec-extension/unstable-cache", "compat/next/dist/server/web/spec-extension/revalidate", "compat/next/dist/client/components/app-router-headers", "compat/next/web-vitals", "compat/next/root-params", "compat/next/route-state", "compat/next/server-only", "compat/next/client-server", "compat/next/legacy-request-apis", "compat/next/redirects", "compat/next/resource-hints", "compat/next/svgr", "compat/next/client-only", "compat/next/image/props", "compat/next/image/optimizer", "compat/next/image/validate", "compat/next/image/shared", "compat/next/image/patterns", "compat/next/image/config", "compat/next/image/client", "compat/next/image/static-metadata", "compat/next/user-agent", "compat/next/client-cache", "compat/next/head", "compat/next/dynamic", "compat/next/telemetry", "compat/next/offline", "compat/next/cache", "compat/next/constants", "compat/next/error", "compat/next/script", "compat/next/index", "compat/next/font/shared", "compat/next/font/runtime", "compat/next/font/google", "compat/next/font/cache", "compat/next/font/runtime-client", "compat/next/font/local", "compat/next/font/index", "compat/next/config-loader", "compat/next/config", "compat/next/image", "compat/next/server", "compat/next/rewrites", "compat/next/preferred-region", "compat/next/config-headers", "compat/next/form", "compat/react/dom", "compat/react/hooks-extra", "compat/react/react-server", "compat/react/dom-client", "compat/react/style-values", "compat/react/compiler-runtime", "compat/react/router-shim", "compat/react/dom-server", "compat/react/dom-react-server", "compat/react/server-component-use", "compat/react/action-state", "compat/react/client", "compat/react/client-lite", "compat/react/server-inserted-html", "compat/react/parity", "compat/react/preact", "compat/react/use", "compat/react/view-transition", "compat/react/internals", "compat/react/server"] }.fingerprint : undefined;
10
10
  var SOURCE_EXTENSIONS = new Set([".ts", ".tsx", ".js", ".jsx", ".cjs", ".mjs"]);
11
11
  var DECLARATION = /\.d\.[cm]?ts$/;
12
12
  var frameworkSrc = fileURLToPath(new URL("..", Bun.pathToFileURL(__PNEXT_PACKAGE_ROOT__ + "/src/runtime/fingerprint.ts").href));
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  findProxyFile
4
- } from "./index-kq8kpzye.js";
4
+ } from "./index-vqs3rebe.js";
5
5
  import {
6
6
  loadNative
7
7
  } from "./index-7wc9n8be.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  generateBlurDataURL
4
- } from "./index-qn4z5s3c.js";
4
+ } from "./index-typcbcsv.js";
5
5
  import {
6
6
  isSvgAsComponentEnabled,
7
7
  svgComponentModule
@@ -3,7 +3,7 @@ import {
3
3
  coerceString,
4
4
  settledPromise,
5
5
  staticMetadataForPathFromFiles
6
- } from "./index-3tf1xjsp.js";
6
+ } from "./index-yghskk8w.js";
7
7
  import {
8
8
  RSC_CONTENT_TYPE_HEADER
9
9
  } from "./index-stbk3jhn.js";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./index-fp8r0sqs.js";
21
21
  import {
22
22
  getNextConfig
23
- } from "./index-6e4fqv30.js";
23
+ } from "./index-m63czgq5.js";
24
24
  import {
25
25
  getWorkUnit,
26
26
  legacyRequestAPIs,
@@ -4,10 +4,13 @@ import {
4
4
  } from "./index-knp0s912.js";
5
5
  import {
6
6
  frameworkFingerprint
7
- } from "./index-c0g2wf3z.js";
7
+ } from "./index-md5jchzy.js";
8
8
  import {
9
9
  writeFileAtomic
10
- } from "./index-20ppawv7.js";
10
+ } from "./index-4qsce64w.js";
11
+ import {
12
+ outCachePath
13
+ } from "./index-bzd2ef7t.js";
11
14
 
12
15
  // src/compat/next/font/cache.ts
13
16
  import { existsSync, readFileSync, writeFileSync } from "fs";
@@ -16,7 +19,7 @@ import path from "path";
16
19
  var INDEX_VERSION = 2;
17
20
  var indexes = new Map;
18
21
  function fontIndex(config) {
19
- const file = path.join(config.outPath, "cache", "fonts", "index.json");
22
+ const file = path.join(outCachePath(config.outPath), "fonts", "index.json");
20
23
  const existing = indexes.get(file);
21
24
  if (existing)
22
25
  return existing;
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  getNextConfig
4
- } from "./index-6e4fqv30.js";
4
+ } from "./index-m63czgq5.js";
5
5
  import {
6
6
  setResourceHintListener
7
7
  } from "./index-yhxkxghe.js";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./index-tgsfjmep.js";
6
6
  import {
7
7
  getImagesConfig
8
- } from "./index-357na4a8.js";
8
+ } from "./index-141vcwk6.js";
9
9
  import {
10
10
  cacheHandlerGet,
11
11
  cacheHandlerSet,
@@ -13,7 +13,7 @@ import {
13
13
  } from "./index-bcws5eh2.js";
14
14
  import {
15
15
  getNextConfig
16
- } from "./index-6e4fqv30.js";
16
+ } from "./index-m63czgq5.js";
17
17
  import {
18
18
  __require
19
19
  } from "./index-rt9qq1va.js";
@@ -623,7 +623,7 @@ async function fetchUpstream(params, config, coreConfig, origin) {
623
623
  return fetchExternalImage(params.href, config.dangerouslyAllowLocalIP, config.maximumResponseBody, config.maximumRedirects);
624
624
  }
625
625
  const publicFile = await readPublicFile([
626
- path2.join(coreConfig.outPath, "public"),
626
+ path2.join(coreConfig.outPath, "static"),
627
627
  coreConfig.publicPath,
628
628
  path2.join(coreConfig.root, "public")
629
629
  ], params.href);
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readDirListing,
4
4
  toPosixPath
5
- } from "./index-20ppawv7.js";
5
+ } from "./index-4qsce64w.js";
6
6
 
7
7
  // src/routing/slots.ts
8
8
  import path from "path";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  rewriteFacts
4
- } from "./index-z4z9zv3b.js";
4
+ } from "./index-x9c55pzy.js";
5
5
  import {
6
6
  loadNative
7
7
  } from "./index-7wc9n8be.js";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  devServerModuleHref,
4
4
  registerServerRuntime
5
- } from "./index-3xbr4eyv.js";
5
+ } from "./index-912z4mfx.js";
6
6
  import {
7
7
  pathToFileHref
8
- } from "./index-x93hv0sc.js";
8
+ } from "./index-zedjt25v.js";
9
9
  import {
10
10
  runWithRequest
11
11
  } from "./index-grta8ap3.js";
@@ -291,7 +291,7 @@ async function staticProxyMatchers(file) {
291
291
  return cached.matchers;
292
292
  let matchers;
293
293
  try {
294
- const { staticProxyConfig } = await import("./proxy-config-j84dgksn.js");
294
+ const { staticProxyConfig } = await import("./proxy-config-9r9e0jvn.js");
295
295
  const config = staticProxyConfig(file, readFileSync(file, "utf8"));
296
296
  if (config)
297
297
  matchers = proxyMatchers(config);
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  getNextConfig
4
- } from "./index-6e4fqv30.js";
4
+ } from "./index-m63czgq5.js";
5
5
 
6
6
  // src/compat/bundler/config.ts
7
7
  var PREDEFINED_SERVER_EXTERNAL_PACKAGES = [