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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions