Commit b19050a
Fix SSR resolve.external being unconditionally applied in Vite 6+ (#236)
* Initial plan
* Initial plan
Co-authored-by: birkskyum <[email protected]>
* Fix SSR resolve.external being unconditionally applied
- Move SSR config from config hook to configEnvironment hook for Vite 6+
- Only set resolve.external if noExternal !== true to avoid conflicts
- Maintain backward compatibility with Vite 3, 4, 5
Co-authored-by: birkskyum <[email protected]>
* delete lockfile
* add changeset
---------
Co-authored-by: birkskyum <[email protected]>
Co-authored-by: Birk Skyum <[email protected]>1 parent d5b8260 commit b19050a
2 files changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
| |||
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
215 | | - | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| |||
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
280 | | - | |
| 281 | + | |
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
| |||
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
304 | 320 | | |
305 | 321 | | |
306 | 322 | | |
| |||
0 commit comments