@wular/pnext 0.1.8 → 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.
- package/dist/server/_chunks/{aliases-pycbtjt1.js → aliases-fhv4dt06.js} +5 -5
- package/dist/server/_chunks/{analyze-4d9e00g9.js → analyze-09kx9q6r.js} +8 -8
- package/dist/server/_chunks/{boot-bhemypxz.js → boot-8aj7efqk.js} +8 -8
- package/dist/server/_chunks/{build-c991dv65.js → build-jda155c9.js} +4 -4
- package/dist/server/_chunks/{build-tier-0a96kmx3.js → build-tier-qrkpfsk1.js} +17 -17
- package/dist/server/_chunks/{build-kh5e3x48.js → build-wspv5h60.js} +56 -34
- package/dist/server/_chunks/{config-0tvz03a6.js → config-7h84p6q8.js} +3 -3
- package/dist/server/_chunks/{config-27rj7830.js → config-d4hqyygy.js} +2 -2
- package/dist/server/_chunks/{create-9rvwshsp.js → create-skj8wzt5.js} +3 -3
- package/dist/server/_chunks/{dev-ex9exynt.js → dev-pennd36n.js} +2 -2
- package/dist/server/_chunks/{generate-myw9hef7.js → generate-d8vb1d21.js} +3 -3
- package/dist/server/_chunks/{index-kdhxpwyq.js → index-0qt2vapb.js} +3 -3
- package/dist/server/_chunks/{index-b7j671dj.js → index-0wm2p3ks.js} +1 -1
- package/dist/server/_chunks/{index-n629dy38.js → index-1y0cesgn.js} +4 -4
- package/dist/server/_chunks/{index-gkndxkxf.js → index-26gwrm07.js} +2 -2
- package/dist/server/_chunks/{index-jn9rbhrx.js → index-3r6qpe8a.js} +4 -4
- package/dist/server/_chunks/{index-yrjkqtfj.js → index-42fef2rv.js} +2 -2
- package/dist/server/_chunks/{index-11xpbfej.js → index-47gx7trn.js} +1 -1
- package/dist/server/_chunks/{index-4da76t62.js → index-4qsce64w.js} +1 -1
- package/dist/server/_chunks/{index-fjv96re1.js → index-4vf121ws.js} +8 -8
- package/dist/server/_chunks/{index-1pzm1hdy.js → index-53fnn598.js} +7 -7
- package/dist/server/_chunks/{index-9hz3s0m8.js → index-6tb725m8.js} +1 -1
- package/dist/server/_chunks/{index-0yjv5v47.js → index-912z4mfx.js} +3 -3
- package/dist/server/_chunks/{index-8ct7rqy3.js → index-aarf1brn.js} +1 -1
- package/dist/server/_chunks/{index-nf3df4jy.js → index-cqcwwxfp.js} +3 -3
- package/dist/server/_chunks/{index-rjegyfx4.js → index-da0fphj0.js} +5 -5
- package/dist/server/_chunks/{index-he6n2bvp.js → index-e176wk6x.js} +1 -1
- package/dist/server/_chunks/{index-hdbwtdv2.js → index-fpghsgb4.js} +1 -1
- package/dist/server/_chunks/{index-evhd413j.js → index-hr63fvzn.js} +1 -1
- package/dist/server/_chunks/{index-rgj5mx84.js → index-jexsy9a8.js} +1 -1
- package/dist/server/_chunks/{index-29pq0kax.js → index-jjppzw0s.js} +2 -2
- package/dist/server/_chunks/{index-dgr390q7.js → index-kpdph69z.js} +23 -23
- package/dist/server/_chunks/{index-gcmj16xy.js → index-md5jchzy.js} +1 -1
- package/dist/server/_chunks/{index-3e075kny.js → index-n814hcky.js} +1 -1
- package/dist/server/_chunks/{index-j681c48a.js → index-qjrh7w2g.js} +1 -1
- package/dist/server/_chunks/{index-qcrvt6er.js → index-s61bx2aj.js} +2 -2
- package/dist/server/_chunks/{index-cn86z041.js → index-veycp46e.js} +1 -1
- package/dist/server/_chunks/{index-3ycf5ckv.js → index-vqs3rebe.js} +3 -3
- package/dist/server/_chunks/{index-d158y67j.js → index-xrsg0041.js} +3 -3
- package/dist/server/_chunks/{index-xh1nbk46.js → index-xs3411qh.js} +7 -7
- package/dist/server/_chunks/{index-38xpdxwd.js → index-y71a76dn.js} +4 -4
- package/dist/server/_chunks/{index-cvr4z22m.js → index-y9bygr95.js} +1 -1
- package/dist/server/_chunks/{index-x2m17v9c.js → index-yghskk8w.js} +9 -9
- package/dist/server/_chunks/{index-tq3b39a5.js → index-yzcpr3yw.js} +4 -4
- package/dist/server/_chunks/{index-71885zaq.js → index-zedjt25v.js} +4 -4
- package/dist/server/_chunks/{loader-5en7wpt5.js → loader-w1e0n5sm.js} +6 -6
- package/dist/server/_chunks/{modules-t92favpj.js → modules-730j14cm.js} +8 -8
- package/dist/server/_chunks/{pipeline-4t9q43ht.js → pipeline-yjdnwbhm.js} +11 -11
- package/dist/server/_chunks/{production-385bw8df.js → production-1xe9b7wd.js} +1 -1
- package/dist/server/_chunks/{proxy-config-60gprphe.js → proxy-config-9r9e0jvn.js} +5 -5
- package/dist/server/_chunks/{proxy-gfhmktbk.js → proxy-pnevsbfd.js} +7 -7
- package/dist/server/_chunks/{router-xnrva921.js → router-rzge0vz8.js} +4 -4
- package/dist/server/_chunks/{routes-ht868pdc.js → routes-0x8wjvcj.js} +7 -7
- package/dist/server/_chunks/{run-d40d63ag.js → run-tk90r3ac.js} +4 -4
- package/dist/server/_chunks/{server-2p8fgqq2.js → server-gev78ejc.js} +19 -19
- package/dist/server/_chunks/{tsconfig-defaults-bcn34eqb.js → tsconfig-defaults-qe9wd6ne.js} +3 -3
- package/dist/server/_chunks/{typegen-dvtcjtaw.js → typegen-0yw8sry8.js} +10 -10
- package/dist/server/cli/index.js +11 -11
- package/dist/server/cli/start.js +5 -5
- package/dist/server/compat/next/config-headers.js +4 -4
- package/dist/server/compat/next/font/cache.js +4 -4
- package/dist/server/compat/next/font/local.js +5 -5
- package/dist/server/compat/next/font/runtime.js +5 -5
- package/dist/server/compat/next/navigation.js +4 -4
- package/dist/server/compat/next/redirects.js +4 -4
- package/dist/server/compat/next/rewrites.js +3 -3
- package/dist/server/generation.json +1 -1
- package/package.json +1 -1
- package/src/cli/adapters/vercel.ts +6 -3
- package/src/cli/serve/standalone.ts +35 -11
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
reactCompilerOptions,
|
|
15
15
|
reactServerLayerAliases,
|
|
16
16
|
rewriteNextFontSource
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
} from "./index-0qt2vapb.js";
|
|
18
|
+
import"./index-912z4mfx.js";
|
|
19
19
|
import"./index-6q7zvrap.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
import"./index-4qsce64w.js";
|
|
21
|
+
import"./index-zedjt25v.js";
|
|
22
22
|
import"./index-bzd2ef7t.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-fpghsgb4.js";
|
|
24
24
|
import"./index-grta8ap3.js";
|
|
25
25
|
import"./index-kresp2n8.js";
|
|
26
26
|
import"./index-e3a6yx84.js";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./index-
|
|
2
|
+
import"./index-3r6qpe8a.js";
|
|
3
3
|
import"./index-0r5eqfc7.js";
|
|
4
4
|
import {
|
|
5
5
|
matchRoute
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-aarf1brn.js";
|
|
7
|
+
import"./index-1y0cesgn.js";
|
|
8
8
|
import"./index-73z4esab.js";
|
|
9
9
|
import {
|
|
10
10
|
emittedAssetName,
|
|
11
11
|
publishEmittedAssets,
|
|
12
12
|
routeCssAssetNames
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-xrsg0041.js";
|
|
14
14
|
import"./index-web361b8.js";
|
|
15
15
|
import"./index-fp8r0sqs.js";
|
|
16
16
|
import"./index-cjgqs13g.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-veycp46e.js";
|
|
18
18
|
import {
|
|
19
19
|
listFiles
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-4qsce64w.js";
|
|
21
21
|
import {
|
|
22
22
|
loadConfig
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-zedjt25v.js";
|
|
24
24
|
import"./index-bzd2ef7t.js";
|
|
25
25
|
import {
|
|
26
26
|
buildManifestFile
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-fpghsgb4.js";
|
|
28
28
|
import {
|
|
29
29
|
bold,
|
|
30
30
|
cyan,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
registerCompatBootExtensions
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-xs3411qh.js";
|
|
5
5
|
import"./index-2wfv4kvx.js";
|
|
6
6
|
import"./index-wm36rj4v.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
7
|
+
import"./index-aarf1brn.js";
|
|
8
|
+
import"./index-0qt2vapb.js";
|
|
9
|
+
import"./index-vqs3rebe.js";
|
|
10
|
+
import"./index-912z4mfx.js";
|
|
11
11
|
import"./index-6q7zvrap.js";
|
|
12
12
|
import"./index-z88qv16t.js";
|
|
13
13
|
import"./index-2vz0wzdn.js";
|
|
@@ -18,11 +18,11 @@ import"./index-6b009mt0.js";
|
|
|
18
18
|
import"./index-4zzebszd.js";
|
|
19
19
|
import"./index-sq3kvz3g.js";
|
|
20
20
|
import"./index-ckkdpht5.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
import"./index-4qsce64w.js";
|
|
22
|
+
import"./index-zedjt25v.js";
|
|
23
23
|
import"./index-bzd2ef7t.js";
|
|
24
24
|
import"./index-jcsjq3d1.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-fpghsgb4.js";
|
|
26
26
|
import"./index-grta8ap3.js";
|
|
27
27
|
import"./index-kresp2n8.js";
|
|
28
28
|
import"./index-e3a6yx84.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
stopCssWorker,
|
|
20
20
|
warmCssPipeline,
|
|
21
21
|
warmCssWorker
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-1y0cesgn.js";
|
|
23
23
|
import"./index-73z4esab.js";
|
|
24
24
|
import {
|
|
25
25
|
assetHref,
|
|
@@ -35,13 +35,13 @@ import {
|
|
|
35
35
|
routeCssAssetNames,
|
|
36
36
|
routeCssHref,
|
|
37
37
|
withAssetPrefix
|
|
38
|
-
} from "./index-
|
|
38
|
+
} from "./index-xrsg0041.js";
|
|
39
39
|
import"./index-web361b8.js";
|
|
40
40
|
import"./index-fp8r0sqs.js";
|
|
41
41
|
import"./index-cjgqs13g.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-4qsce64w.js";
|
|
43
43
|
import"./index-bzd2ef7t.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-fpghsgb4.js";
|
|
45
45
|
import"./index-6kp9r0d9.js";
|
|
46
46
|
import"./index-d1jsmhhk.js";
|
|
47
47
|
import"./index-7wc9n8be.js";
|
|
@@ -14,37 +14,37 @@ import {
|
|
|
14
14
|
treeSegmentFile,
|
|
15
15
|
validateBuild,
|
|
16
16
|
warnNextMetadataBuildIssues
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-qjrh7w2g.js";
|
|
18
18
|
import {
|
|
19
19
|
writeTsconfigDefaults
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-0wm2p3ks.js";
|
|
21
21
|
import {
|
|
22
22
|
generateTypedRoutes
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-6tb725m8.js";
|
|
24
24
|
import {
|
|
25
25
|
scanRootParamTypes
|
|
26
26
|
} from "./index-v1ags1na.js";
|
|
27
27
|
import {
|
|
28
28
|
discoverStaticMetadataFiles
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-yghskk8w.js";
|
|
30
30
|
import {
|
|
31
31
|
deploymentId,
|
|
32
32
|
turbopackLoaderRules
|
|
33
33
|
} from "./index-wm36rj4v.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-aarf1brn.js";
|
|
35
35
|
import {
|
|
36
36
|
nextCompatEnabled,
|
|
37
37
|
reactCompatEnabled,
|
|
38
38
|
reactCompilerOptions
|
|
39
|
-
} from "./index-
|
|
39
|
+
} from "./index-0qt2vapb.js";
|
|
40
40
|
import {
|
|
41
41
|
findProxyFile,
|
|
42
42
|
proxyExternalLoadTarget
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-vqs3rebe.js";
|
|
44
44
|
import {
|
|
45
45
|
devServerModuleHref
|
|
46
|
-
} from "./index-
|
|
47
|
-
import"./index-
|
|
46
|
+
} from "./index-912z4mfx.js";
|
|
47
|
+
import"./index-xrsg0041.js";
|
|
48
48
|
import"./index-web361b8.js";
|
|
49
49
|
import {
|
|
50
50
|
preferredRegionForRoute
|
|
@@ -52,10 +52,10 @@ import {
|
|
|
52
52
|
import {
|
|
53
53
|
fontLinkHeaderValue,
|
|
54
54
|
takeFontHeaderPreloads
|
|
55
|
-
} from "./index-
|
|
56
|
-
import"./index-
|
|
55
|
+
} from "./index-26gwrm07.js";
|
|
56
|
+
import"./index-s61bx2aj.js";
|
|
57
57
|
import"./index-knp0s912.js";
|
|
58
|
-
import"./index-
|
|
58
|
+
import"./index-md5jchzy.js";
|
|
59
59
|
import"./index-fn1chkkd.js";
|
|
60
60
|
import"./index-ye9hmsvf.js";
|
|
61
61
|
import"./index-6q7zvrap.js";
|
|
@@ -92,19 +92,19 @@ import {
|
|
|
92
92
|
emitCustomServerShim
|
|
93
93
|
} from "./index-8kcxdfya.js";
|
|
94
94
|
import"./index-yhxkxghe.js";
|
|
95
|
-
import"./index-
|
|
96
|
-
import"./index-
|
|
95
|
+
import"./index-jjppzw0s.js";
|
|
96
|
+
import"./index-veycp46e.js";
|
|
97
97
|
import {
|
|
98
98
|
listFiles,
|
|
99
99
|
toPosixPath
|
|
100
|
-
} from "./index-
|
|
100
|
+
} from "./index-4qsce64w.js";
|
|
101
101
|
import"./index-vz0km5qk.js";
|
|
102
102
|
import {
|
|
103
103
|
pathToFileHref
|
|
104
|
-
} from "./index-
|
|
104
|
+
} from "./index-zedjt25v.js";
|
|
105
105
|
import"./index-bzd2ef7t.js";
|
|
106
106
|
import"./index-jcsjq3d1.js";
|
|
107
|
-
import"./index-
|
|
107
|
+
import"./index-fpghsgb4.js";
|
|
108
108
|
import"./index-ras0sdab.js";
|
|
109
109
|
import {
|
|
110
110
|
legacyRequestAPIs
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
buildClientEntries,
|
|
11
11
|
emitStaticClientChunks,
|
|
12
12
|
startClientSources
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-53fnn598.js";
|
|
14
14
|
import {
|
|
15
15
|
writeTypegen
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-y71a76dn.js";
|
|
17
17
|
import {
|
|
18
18
|
handleRouteModule,
|
|
19
19
|
staticRouteParams
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
assertNoServerActionsWithoutCompat,
|
|
24
24
|
materializeRouteFacts,
|
|
25
25
|
scanRoutes
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-3r6qpe8a.js";
|
|
27
27
|
import {
|
|
28
28
|
devServerModuleHref,
|
|
29
29
|
resetModuleGraphFailure,
|
|
30
30
|
setEmitCompiledSpecifiersManifest,
|
|
31
31
|
setReleaseCompile
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-4vf121ws.js";
|
|
33
33
|
import"./index-n4hxpng2.js";
|
|
34
34
|
import"./index-x3yn4ywm.js";
|
|
35
35
|
import {
|
|
@@ -37,9 +37,9 @@ import {
|
|
|
37
37
|
compiledSourceGraph,
|
|
38
38
|
flushDevModuleCaches,
|
|
39
39
|
registerServerRuntime
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-da0fphj0.js";
|
|
41
41
|
import"./index-0r5eqfc7.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-n814hcky.js";
|
|
43
43
|
import {
|
|
44
44
|
clientEntryName,
|
|
45
45
|
defaultNotFoundDocument,
|
|
@@ -61,21 +61,21 @@ import {
|
|
|
61
61
|
staticParamsFor,
|
|
62
62
|
staticRouteMetadataKey,
|
|
63
63
|
withDynamicMetadataRoutes
|
|
64
|
-
} from "./index-
|
|
64
|
+
} from "./index-yghskk8w.js";
|
|
65
65
|
import {
|
|
66
66
|
findLayouts
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-aarf1brn.js";
|
|
68
68
|
import {
|
|
69
69
|
findProxyFile,
|
|
70
70
|
proxyExternalLoadTarget,
|
|
71
71
|
proxyRoutePatterns,
|
|
72
72
|
validateProxyFiles
|
|
73
|
-
} from "./index-
|
|
73
|
+
} from "./index-vqs3rebe.js";
|
|
74
74
|
import {
|
|
75
75
|
serverBundleTargetForRuntime,
|
|
76
76
|
throwIfModuleGraphFailed
|
|
77
|
-
} from "./index-
|
|
78
|
-
import"./index-
|
|
77
|
+
} from "./index-912z4mfx.js";
|
|
78
|
+
import"./index-42fef2rv.js";
|
|
79
79
|
import"./index-jbj7ehef.js";
|
|
80
80
|
import {
|
|
81
81
|
buildGlobalCss,
|
|
@@ -84,21 +84,21 @@ import {
|
|
|
84
84
|
globalCssSources,
|
|
85
85
|
prepareRouteCssChunks,
|
|
86
86
|
warmCssPipeline
|
|
87
|
-
} from "./index-
|
|
87
|
+
} from "./index-1y0cesgn.js";
|
|
88
88
|
import {
|
|
89
89
|
createVerboseLogger
|
|
90
90
|
} from "./index-73z4esab.js";
|
|
91
91
|
import {
|
|
92
92
|
emittedAssetNames,
|
|
93
93
|
registerCssRuntime
|
|
94
|
-
} from "./index-
|
|
94
|
+
} from "./index-xrsg0041.js";
|
|
95
95
|
import {
|
|
96
96
|
nextCompatEnabled
|
|
97
97
|
} from "./index-web361b8.js";
|
|
98
98
|
import"./index-knp0s912.js";
|
|
99
99
|
import {
|
|
100
100
|
frameworkFingerprint
|
|
101
|
-
} from "./index-
|
|
101
|
+
} from "./index-md5jchzy.js";
|
|
102
102
|
import"./index-ye9hmsvf.js";
|
|
103
103
|
import {
|
|
104
104
|
setRequestRuntime
|
|
@@ -110,10 +110,10 @@ import {
|
|
|
110
110
|
} from "./index-fp8r0sqs.js";
|
|
111
111
|
import"./index-cjgqs13g.js";
|
|
112
112
|
import"./index-yhxkxghe.js";
|
|
113
|
-
import"./index-
|
|
113
|
+
import"./index-jjppzw0s.js";
|
|
114
114
|
import {
|
|
115
115
|
interceptionMarkerLevels
|
|
116
|
-
} from "./index-
|
|
116
|
+
} from "./index-veycp46e.js";
|
|
117
117
|
import {
|
|
118
118
|
ensureEmptyDir,
|
|
119
119
|
listFiles,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
toPosixPath,
|
|
124
124
|
writeFileAtomic,
|
|
125
125
|
writeText
|
|
126
|
-
} from "./index-
|
|
126
|
+
} from "./index-4qsce64w.js";
|
|
127
127
|
import {
|
|
128
128
|
cacheRoot,
|
|
129
129
|
namedBunBinary
|
|
@@ -131,13 +131,13 @@ import {
|
|
|
131
131
|
import"./index-vz0km5qk.js";
|
|
132
132
|
import {
|
|
133
133
|
bootstrapCompat
|
|
134
|
-
} from "./index-
|
|
134
|
+
} from "./index-yzcpr3yw.js";
|
|
135
135
|
import {
|
|
136
136
|
devOutSegment,
|
|
137
137
|
frameworkRuntimeSpecifiers,
|
|
138
138
|
loadConfig,
|
|
139
139
|
pathToFileHref
|
|
140
|
-
} from "./index-
|
|
140
|
+
} from "./index-zedjt25v.js";
|
|
141
141
|
import {
|
|
142
142
|
outCachePath
|
|
143
143
|
} from "./index-bzd2ef7t.js";
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
readPrebundleStamp,
|
|
152
152
|
releaseSourceFile,
|
|
153
153
|
standaloneOriginsFile
|
|
154
|
-
} from "./index-
|
|
154
|
+
} from "./index-fpghsgb4.js";
|
|
155
155
|
import {
|
|
156
156
|
bold,
|
|
157
157
|
cyan,
|
|
@@ -476,7 +476,7 @@ async function immutableAssetRoutes(publicDir, publicAssets = []) {
|
|
|
476
476
|
const app = new Set(publicAssets);
|
|
477
477
|
const built = publicAssets.length > 0 ? (await listFiles(publicDir)).map((file) => toPosixPath(path.relative(publicDir, file))).filter((relative) => !app.has(relative) && immutableAssetPath(relative)) : [];
|
|
478
478
|
const patterns = immutableAssetPatterns(built, publicAssets);
|
|
479
|
-
return routeSources(patterns, (source) => `^/(?:${source})
|
|
479
|
+
return routeSources(patterns, (source) => `^/(?:${source})$`).map((src) => ({
|
|
480
480
|
src,
|
|
481
481
|
headers: { "cache-control": immutableCacheControl },
|
|
482
482
|
continue: true,
|
|
@@ -486,13 +486,13 @@ async function immutableAssetRoutes(publicDir, publicAssets = []) {
|
|
|
486
486
|
function immutableAssetPatterns(built, publicAssets) {
|
|
487
487
|
const appDirs = new Set(publicAssets.flatMap(ancestorDirs));
|
|
488
488
|
const prefixes = [...new Set(immutableAssetPrefixes())];
|
|
489
|
-
const patterns = prefixes.filter((prefix) => !appDirs.has(prefix)).map(escapeRegex);
|
|
489
|
+
const patterns = prefixes.filter((prefix) => !appDirs.has(prefix)).map((prefix) => `${escapeRegex(prefix)}.+`);
|
|
490
490
|
for (const relative of built) {
|
|
491
491
|
const prefix = prefixes.find((prefix2) => relative.startsWith(prefix2));
|
|
492
492
|
if (!prefix || !appDirs.has(prefix))
|
|
493
493
|
continue;
|
|
494
494
|
const dir = ancestorDirs(relative).find((dir2) => dir2.length > prefix.length && !appDirs.has(dir2));
|
|
495
|
-
patterns.push(dir ? escapeRegex(requestPath(dir)) :
|
|
495
|
+
patterns.push(dir ? `${escapeRegex(requestPath(dir))}.+` : escapeRegex(requestPath(relative)));
|
|
496
496
|
}
|
|
497
497
|
return [...new Set(patterns)];
|
|
498
498
|
}
|
|
@@ -1151,7 +1151,11 @@ function createTracer(config, from, onReady) {
|
|
|
1151
1151
|
const appFile = release && !isInside(outPath, target2) && !isInside(cache, target2) && !shipped(target2);
|
|
1152
1152
|
if (appFile && scriptFile.test(target2))
|
|
1153
1153
|
continue;
|
|
1154
|
-
|
|
1154
|
+
const stat = statSync(target2, { throwIfNoEntry: false });
|
|
1155
|
+
if (stat?.isDirectory() && !release && packageDataDir(target2, file))
|
|
1156
|
+
for (const asset of dataFiles(target2))
|
|
1157
|
+
setFile(trace, place(asset), asset);
|
|
1158
|
+
if (!stat?.isFile())
|
|
1155
1159
|
continue;
|
|
1156
1160
|
const at = appFile ? toPosixPath(path4.join("server", "assets", path4.relative(config.workspaceRoot, target2))) : place(target2);
|
|
1157
1161
|
if (appFile)
|
|
@@ -1284,15 +1288,9 @@ function createPlacer(outPath, cache, claims = new Map) {
|
|
|
1284
1288
|
const dir = packageDir(frameworkRoot2, frameworkPackage.name);
|
|
1285
1289
|
return `${dir}/${toPosixPath(path4.relative(frameworkRoot2, file))}`;
|
|
1286
1290
|
}
|
|
1287
|
-
const
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
const rest = posix.slice(at + "/node_modules/".length).split("/");
|
|
1291
|
-
const length = rest[0].startsWith("@") ? 2 : 1;
|
|
1292
|
-
const name2 = rest.slice(0, length).join("/");
|
|
1293
|
-
const root2 = `${posix.slice(0, at)}/node_modules/${name2}`;
|
|
1294
|
-
return [packageDir(root2, name2), ...rest.slice(length)].join("/");
|
|
1295
|
-
}
|
|
1291
|
+
const owner = installedPackage(file);
|
|
1292
|
+
if (owner)
|
|
1293
|
+
return [packageDir(owner.root, owner.name), ...owner.rest].join("/");
|
|
1296
1294
|
const root = packageRoot(path4.dirname(file));
|
|
1297
1295
|
const name = root && readPackageName(root);
|
|
1298
1296
|
if (!root || !name)
|
|
@@ -1329,6 +1327,16 @@ function addTree(root, dest, trace) {
|
|
|
1329
1327
|
};
|
|
1330
1328
|
visit(root, new Set);
|
|
1331
1329
|
}
|
|
1330
|
+
function installedPackage(file) {
|
|
1331
|
+
const posix = toPosixPath(file);
|
|
1332
|
+
const at = posix.lastIndexOf("/node_modules/");
|
|
1333
|
+
if (at === -1)
|
|
1334
|
+
return;
|
|
1335
|
+
const rest = posix.slice(at + "/node_modules/".length).split("/");
|
|
1336
|
+
const length = rest[0].startsWith("@") ? 2 : 1;
|
|
1337
|
+
const name = rest.slice(0, length).join("/");
|
|
1338
|
+
return { root: `${posix.slice(0, at)}/node_modules/${name}`, name, rest: rest.slice(length) };
|
|
1339
|
+
}
|
|
1332
1340
|
function installed(file) {
|
|
1333
1341
|
return toPosixPath(file).includes("/node_modules/");
|
|
1334
1342
|
}
|
|
@@ -1428,6 +1436,20 @@ function addPackageFiles(file, trace, place) {
|
|
|
1428
1436
|
return;
|
|
1429
1437
|
}
|
|
1430
1438
|
}
|
|
1439
|
+
function packageDataDir(dir, from) {
|
|
1440
|
+
const root = installedPackage(from)?.root ?? packageRoot(path4.dirname(from));
|
|
1441
|
+
if (!root || !isInside(root, dir) || isInside(dir, path4.dirname(from)))
|
|
1442
|
+
return false;
|
|
1443
|
+
return !path4.relative(root, dir).split(path4.sep).includes("node_modules");
|
|
1444
|
+
}
|
|
1445
|
+
function dataFiles(dir) {
|
|
1446
|
+
return readdirSync2(dir, { withFileTypes: true }).flatMap((entry) => {
|
|
1447
|
+
const file = path4.join(dir, entry.name);
|
|
1448
|
+
if (entry.isDirectory())
|
|
1449
|
+
return entry.name === "node_modules" ? [] : dataFiles(file);
|
|
1450
|
+
return entry.isFile() ? [file] : [];
|
|
1451
|
+
});
|
|
1452
|
+
}
|
|
1431
1453
|
function packageRoot(dir) {
|
|
1432
1454
|
for (;dir !== path4.dirname(dir); dir = path4.dirname(dir)) {
|
|
1433
1455
|
if (existsSync4(path4.join(dir, "package.json")))
|
|
@@ -1459,7 +1481,7 @@ function rewriteSpecifiers(file, source, edits) {
|
|
|
1459
1481
|
function urlTarget(specifier, from) {
|
|
1460
1482
|
try {
|
|
1461
1483
|
const url = new URL(specifier, pathToFileURL(from));
|
|
1462
|
-
return url.protocol === "file:" ? fileURLToPath2(url) : undefined;
|
|
1484
|
+
return url.protocol === "file:" ? path4.resolve(fileURLToPath2(url)) : undefined;
|
|
1463
1485
|
} catch {
|
|
1464
1486
|
return;
|
|
1465
1487
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
registerConfigSource
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-47gx7trn.js";
|
|
5
5
|
import"./index-m63czgq5.js";
|
|
6
6
|
import"./index-cjgqs13g.js";
|
|
7
7
|
import"./index-jks0x0a1.js";
|
|
@@ -9,9 +9,9 @@ import"./index-6b009mt0.js";
|
|
|
9
9
|
import"./index-4zzebszd.js";
|
|
10
10
|
import"./index-sq3kvz3g.js";
|
|
11
11
|
import"./index-ckkdpht5.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-zedjt25v.js";
|
|
13
13
|
import"./index-bzd2ef7t.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-fpghsgb4.js";
|
|
15
15
|
import"./index-grta8ap3.js";
|
|
16
16
|
import"./index-kresp2n8.js";
|
|
17
17
|
import"./index-e3a6yx84.js";
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
pnextAliases,
|
|
10
10
|
publicEnvDefines,
|
|
11
11
|
registerConfigSource
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-zedjt25v.js";
|
|
13
13
|
import {
|
|
14
14
|
outCachePath,
|
|
15
15
|
standaloneOutSegment
|
|
16
16
|
} from "./index-bzd2ef7t.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-fpghsgb4.js";
|
|
18
18
|
import"./index-grta8ap3.js";
|
|
19
19
|
import"./index-kresp2n8.js";
|
|
20
20
|
import"./index-e3a6yx84.js";
|
|
@@ -3,12 +3,12 @@ import { join as __pnextJoin } from "node:path";
|
|
|
3
3
|
const __PNEXT_PACKAGE_ROOT__ = __pnextJoin(import.meta.dirname, "../../..");
|
|
4
4
|
import {
|
|
5
5
|
latestPnextVersionRange
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-hr63fvzn.js";
|
|
7
7
|
import {
|
|
8
8
|
formatDuration
|
|
9
9
|
} from "./index-73z4esab.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
import"./index-4qsce64w.js";
|
|
11
|
+
import"./index-fpghsgb4.js";
|
|
12
12
|
import {
|
|
13
13
|
bold,
|
|
14
14
|
cyan,
|
|
@@ -35,8 +35,8 @@ function nameDevProcess() {
|
|
|
35
35
|
async function dev(options = {}) {
|
|
36
36
|
nameDevProcess();
|
|
37
37
|
const [{ loadConfig }, { startDevServer }] = await Promise.all([
|
|
38
|
-
import("./config-
|
|
39
|
-
import("./server-
|
|
38
|
+
import("./config-d4hqyygy.js"),
|
|
39
|
+
import("./server-gev78ejc.js")
|
|
40
40
|
]);
|
|
41
41
|
markBoot("dev:imports");
|
|
42
42
|
const config = await loadConfig(options.root, { dev: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
generateTypedRoutes
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-6tb725m8.js";
|
|
5
5
|
import"./index-v1ags1na.js";
|
|
6
6
|
import"./index-m63czgq5.js";
|
|
7
7
|
import"./index-cjgqs13g.js";
|
|
@@ -10,8 +10,8 @@ import"./index-6b009mt0.js";
|
|
|
10
10
|
import"./index-4zzebszd.js";
|
|
11
11
|
import"./index-sq3kvz3g.js";
|
|
12
12
|
import"./index-ckkdpht5.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
import"./index-4qsce64w.js";
|
|
14
|
+
import"./index-fpghsgb4.js";
|
|
15
15
|
import"./index-kresp2n8.js";
|
|
16
16
|
import"./index-e3a6yx84.js";
|
|
17
17
|
import"./index-7wc9n8be.js";
|
|
@@ -3,7 +3,7 @@ import { join as __pnextJoin } from "node:path";
|
|
|
3
3
|
const __PNEXT_PACKAGE_ROOT__ = __pnextJoin(import.meta.dirname, "../../..");
|
|
4
4
|
import {
|
|
5
5
|
isReleaseCompile
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-912z4mfx.js";
|
|
7
7
|
import {
|
|
8
8
|
actionId,
|
|
9
9
|
moduleActionExports,
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
readText,
|
|
15
15
|
toPosixPath
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-4qsce64w.js";
|
|
17
17
|
import {
|
|
18
18
|
frameworkRuntimeAliasEntries,
|
|
19
19
|
pnextAliases
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-zedjt25v.js";
|
|
21
21
|
import {
|
|
22
22
|
escapeRegex,
|
|
23
23
|
isIdentifier,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
hashedAssetName,
|
|
12
12
|
isCssModuleFile,
|
|
13
13
|
recordEmittedAsset
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-xrsg0041.js";
|
|
15
15
|
import {
|
|
16
16
|
readSourceSync
|
|
17
17
|
} from "./index-fp8r0sqs.js";
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
ensureDir,
|
|
23
23
|
readText
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-4qsce64w.js";
|
|
25
25
|
import {
|
|
26
26
|
outCachePath
|
|
27
27
|
} from "./index-bzd2ef7t.js";
|
|
28
28
|
import {
|
|
29
29
|
productionRelease
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-fpghsgb4.js";
|
|
31
31
|
import {
|
|
32
32
|
resolveImport
|
|
33
33
|
} from "./index-d1jsmhhk.js";
|
|
@@ -799,7 +799,7 @@ function buildRouteStylesheets(config, routes, documentCss, options = {}) {
|
|
|
799
799
|
return publish;
|
|
800
800
|
}
|
|
801
801
|
async function buildNotFoundCss(config, options = {}) {
|
|
802
|
-
const { collectFileCss } = await import("./routes-
|
|
802
|
+
const { collectFileCss } = await import("./routes-0x8wjvcj.js");
|
|
803
803
|
const targets = [
|
|
804
804
|
{
|
|
805
805
|
id: "not-found",
|
|
@@ -4,7 +4,7 @@ const __PNEXT_PACKAGE_ROOT__ = __pnextJoin(import.meta.dirname, "../../..");
|
|
|
4
4
|
import {
|
|
5
5
|
persistFont,
|
|
6
6
|
persistedFont
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-s61bx2aj.js";
|
|
8
8
|
import {
|
|
9
9
|
familyStack,
|
|
10
10
|
fontStyle,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./index-fn1chkkd.js";
|
|
16
16
|
import {
|
|
17
17
|
servedRelease
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-fpghsgb4.js";
|
|
19
19
|
import {
|
|
20
20
|
getWorkUnit
|
|
21
21
|
} from "./index-grta8ap3.js";
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
findLayouts,
|
|
11
11
|
pageExtensions,
|
|
12
12
|
serverActionsUnsupportedMessage
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-aarf1brn.js";
|
|
14
14
|
import {
|
|
15
15
|
globalCssSourcesForPaths
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-1y0cesgn.js";
|
|
17
17
|
import {
|
|
18
18
|
readSourceSync
|
|
19
19
|
} from "./index-fp8r0sqs.js";
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
isSlotSegment,
|
|
26
26
|
slotConventionFile,
|
|
27
27
|
slotDirectoriesIn
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-veycp46e.js";
|
|
29
29
|
import {
|
|
30
30
|
listFiles,
|
|
31
31
|
listFilesSync,
|
|
32
32
|
toPosixPath,
|
|
33
33
|
withDirCache
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-4qsce64w.js";
|
|
35
35
|
import {
|
|
36
36
|
clientReferenceId,
|
|
37
37
|
ssrClientReference
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-jbj7ehef.js";
|
|
7
7
|
import {
|
|
8
8
|
readText
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-4qsce64w.js";
|
|
10
10
|
import {
|
|
11
11
|
pathToFileHref
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-zedjt25v.js";
|
|
13
13
|
import {
|
|
14
14
|
clientReferenceId
|
|
15
15
|
} from "./index-ras0sdab.js";
|