Skip to content
New issue

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

Unexpected Page Generation from src/pages/[regular].astro Impacting src/pages/api/* #28

Open
okabrionz opened this issue Jan 11, 2024 · 0 comments

Comments

@okabrionz
Copy link

Issue Description:
The src/pages/[regular].astro page seems to be causing an unintended consequence by generating an additional page that includes src/pages/api/worker.mts. This behavior is not expected and needs investigation to identify the root cause and resolve the issue.

Steps to Reproduce:

  1. Navigate to src/pages/[regular].astro in the project.
  2. Observe the build process or live preview functionality.
  3. Check the output to confirm the generation of an extra page that includes src/pages/api/worker.mts.

Expected Behavior:
The src/pages/[regular].astro page should only generate the intended content and should not have any impact on other unrelated pages, such as src/pages/api/worker.mts.

Actual Behavior:
An additional page is being generated from src/pages/[regular].astro, and it includes src/pages/api/worker.mts, which is unexpected and causing issues.

Impact:
This issue may lead to confusion, increased build times, and potential errors in the generated output. It needs urgent attention to maintain the expected behavior and prevent unintended consequences.

Additional Information:

  • Version of the project framework or library.
  • Any recent changes or updates made to src/pages/[regular].astro.
  • Configuration settings related to page generation and build process.
  • Logs or error messages encountered during the build process.

Proposed Solution:
Investigate the src/pages/[regular].astro file to identify any unintended dependencies or configurations that might be causing the generation of the extra page including src/pages/api/worker.mts. Adjust the code or configuration accordingly to resolve the issue and ensure the expected behavior is restored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant