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
no-exports-from-components
Astro has some functions that can be exported in a file and has some logic with it
for example, in dynamic routing, we use getStaticPath to define the correct matching routes and this function has to have "export" inside the file.
i don't know if there more exceptions like this, the plugin could have exceptions for this cases and also for other specials cases
The text was updated successfully, but these errors were encountered:
Thank you for the report. It appears that export const prerender = true; is also allowed. https://docs.astro.build/en/guides/server-side-rendering/#opting-in-to-pre-rendering-in-server-mode I don't know if there are more. How should I find out?...
export const prerender = true;
Sorry, something went wrong.
No branches or pull requests
Astro has some functions that can be exported in a file and has some logic with it
for example, in dynamic routing, we use getStaticPath to define the correct matching routes and this function has to have "export" inside the file.
i don't know if there more exceptions like this, the plugin could have exceptions for this cases and also for other specials cases
The text was updated successfully, but these errors were encountered: