astro/.changeset/stupid-pants-press.md
Nate Moore c2682a17c0
Fix injectRoute (#7943)
* fix: inject route! hack!

* refactor: use integration container to resolve all injected routes

* chore: add changeset

* Fix pnpm workspace injectRoute bug

See https://github.com/withastro/astro/issues/7561#issuecomment-1620063634

Closes #7561

* Revert "Fix pnpm workspace injectRoute bug"

This reverts commit 3082c7c269.

* Update .changeset/stupid-pants-press.md

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* Update packages/astro/src/vite-plugin-scripts/page-ssr.ts

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* refactor: cleanup injectedRoute resolution logic

---------

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-08-07 11:24:28 -05:00

94 B

astro
patch

Ensure that injected routes from node_modules are properly detected