Commit 4c6e8d4
authored
Add relative app dir field (#46393)
This adds a relative app dir field to the required files manifest so
that we don't rely on absolute paths from a cached build since the cache
can be restored in a separate context where the value no longer applies.
x-ref: #45864
## Bug
- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)1 parent c533613 commit 4c6e8d4
File tree
2 files changed
+8
-5
lines changed- packages/next/src/build
- test/production/standalone-mode/required-server-files
2 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
899 | 902 | | |
900 | 903 | | |
901 | 904 | | |
| |||
923 | 926 | | |
924 | 927 | | |
925 | 928 | | |
| 929 | + | |
926 | 930 | | |
927 | 931 | | |
928 | 932 | | |
| |||
1926 | 1930 | | |
1927 | 1931 | | |
1928 | 1932 | | |
1929 | | - | |
1930 | | - | |
| 1933 | + | |
| 1934 | + | |
1931 | 1935 | | |
1932 | 1936 | | |
1933 | 1937 | | |
| |||
2172 | 2176 | | |
2173 | 2177 | | |
2174 | 2178 | | |
2175 | | - | |
2176 | | - | |
2177 | | - | |
2178 | 2179 | | |
2179 | 2180 | | |
2180 | 2181 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| 324 | + | |
| 325 | + | |
324 | 326 | | |
325 | 327 | | |
326 | 328 | | |
| |||
0 commit comments