Skip to content

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

Open
@okabrionz

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions