Commit a0cec9d
fix(cloudflare): repair paths after platforms/cloudflare flatten
worker-entrypoint.ts moved from src/ to the package root in the
previous commit but the relative imports of the OpenNext-built
worker still pointed at `../../../apps/site/.open-next/worker.js`,
one segment too deep. wrangler dev (used by Playwright via
cloudflare:preview) re-bundles the entrypoint and surfaced the
regression — `opennextjs-cloudflare build` had silently tolerated
it. Adjust both imports to `../../apps/site/.open-next/worker.js`.
While here, update the cloudflare#cloudflare:build:worker turbo
inputs glob from `src/**/*.ts` to `*.ts` so the cache key tracks
the now-flat package.
Also drop a duplicate `apps/site/redirects.json @nodejs/web-infra`
line from CODEOWNERS that crept in when the platform entries were
inserted between the original and a stray copy.
Co-Authored-By: Claude Opus 4.7 <[email protected]>1 parent d0d3a18 commit a0cec9d
3 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
0 commit comments