Skip to content

Exclude are not correctly re-rooted in the template world #81

Description

@elegaanz

Context: typst/packages#5293

If you exclude:

exclude = ["/main.typ"] # Note the /

And that you have these files:

…
main.typ
template/
    main.typ

/main.typ will be considered as excluded as it should, but because we just pass the same globs to the template world while the root is not the same, template/main.typ is considered to be excluded when compiling the template.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions