Commit 25e2ec0
fix(nitro): Respect user-provided
The `rewriteSources` option was hardcoded to `normalizePath`, silently
discarding any custom function provided by the user. Now falls back to
`normalizePath` only when the user doesn't provide their own function,
matching the behavior of other meta-framework SDKs (Nuxt, Next.js).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>rewriteSources option1 parent 568fbdc commit 25e2ec0
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
123 | 132 | | |
124 | 133 | | |
125 | 134 | | |
| |||
0 commit comments