| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Unflag advanced routing (#16877) * feat: unflag advanced routing ## Goal Remove the experimental.advancedRouting flag and enable the feature by default. Move fetchFile to a top-level config option. RFC: https://github.com/withastro/roadmap/pull/1344 ## Decisions - fetchFile becomes a top-level config option (string | null, default 'app') instead of being nested under experimental.advancedRouting. The boolean gate is gone — the vite plugin always resolves src/app.ts if it exists. - Users who had experimental.advancedRouting: true can simply delete it. - Users who had experimental.advancedRouting: { fetchFile: 'fetch.ts' } move to the top-level: fetchFile: 'fetch.ts'. ## Changes - base.ts: Moved default and zod schema from experimental to top-level. - config.ts: Moved type from experimental to top-level with JSDoc. - vite-plugin.ts: Reads settings.config.fetchFile directly, removed advancedRoutingEnabled gate. - Example config: Removed experimental block. - reference/handlers.md: Removed experimental mention. * fix: disable fetchFile in vue app-entrypoint-css fixture The fixture has a src/app.ts that is a Vue app entrypoint, not an Astro fetch handler. With advanced routing always enabled, it was being loaded as the fetch handler, breaking the SSR test. * rename default fetch entrypoint from src/app.ts to src/fetch.ts * add changeset * Update packages/astro/src/types/public/config.ts Co-authored-by: Armand Philippot <git@armand.philippot.eu> * Update .changeset/seven-pots-begin.md Co-authored-by: Armand Philippot <git@armand.philippot.eu> * Update packages/astro/src/types/public/config.ts Co-authored-by: Armand Philippot <git@armand.philippot.eu> * Update packages/astro/src/types/public/config.ts Co-authored-by: Armand Philippot <git@armand.philippot.eu> --------- Co-authored-by: Armand Philippot <git@armand.philippot.eu> | 4 个月前 | |
Replace esbuild with Vite and Rolldown APIs (#18263) | 14 天前 | |
[ci] format | 5 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 个月前 | ||
| 14 天前 | ||
| 5 个月前 |