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.
Context: typst/packages#5293
If you exclude:
And that you have these files:
/main.typwill 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.typis considered to be excluded when compiling the template.