We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
srcDir
The plugin doesn't seem to be taking into an account srcDir
// https://astro.build/config export default defineConfig({ srcDir: ".", }
astro build
[vite]: Rollup failed to resolve import "/src/content/config.ts" from "virtual:starlight/collection-config".
It builds instead of failing
Every time
No response
A temporary fix is just to have src/content/config.ts copy as well
src/content/config.ts
The text was updated successfully, but these errors were encountered:
<StarlightPage>
Thanks for the report 🙌
This turns out to be an issue in Starlight and I've opened withastro/starlight#2054 to fix the issue.
Sorry, something went wrong.
Starlight 0.24.5 was just released with the fix for this issue.
0.24.5
I just tested locally with a custom srcDir using that latest Starlight version and now the build works fine as expected.
Thanks again for your report 🙌
Thanks for taking car of it!
Successfully merging a pull request may close this issue.
Describe the bug
The plugin doesn't seem to be taking into an account
srcDir
To Reproduce
astro build
[vite]: Rollup failed to resolve import "/src/content/config.ts" from "virtual:starlight/collection-config".
Expected behavior
It builds instead of failing
How often does this bug happen?
Every time
System Info
No response
Additional Context
A temporary fix is just to have
src/content/config.ts
copy as wellThe text was updated successfully, but these errors were encountered: