Skip to content

Static site build copies stylesheet sources next to output.css #493

Description

@dubadub

Found during review of #456. Pre-existing on main (it shipped styles.css and custom-styles.css the same way).

copy_static_assets in src/build/writer.rs copies the whole embedded static/ tree, so the generated site contains static/css/input.css and static/css/components.css even though pages only link output.css and cooking-mode.css.

Fix: an exclude list in the writer (or a separate embed folder for shipped assets).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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