Skip to content

adapter-static generates unused js chunks when csr=false #9703

@bnjox

Description

@bnjox

Describe the bug

Even when csr=false I still get the js bundle chunks in the final build.
If I delete the files, the site will still work, but it is annoying if I have to delete the files everytime before I send the final build to someone.

Reproduction

  • Create any basic project,
  • disable the csr in +layout
  • run build
  • check the final build folder, it should be there

Logs

No response

System Info

Severity

annoyance

Additional Information

No response

Metadata

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