Azulaloi / obsidian-skribi

Dynamic live templating for Obsidian.md
MIT License
7 stars 0 forks source link

issue with scriptloader module keys #7

Open Azulaloi opened 1 year ago

Azulaloi commented 1 year ago

Cannot redefine property on line 54 https://github.com/Azulaloi/obsidian-skribi/blob/941696319d0c3253c9172911497ab0fa70d1b554/src/engine/provider/provider-scriptloader.ts#L54

as well as line 63.

Can be reproduced by renaming a script file that has a single (but not more than one) exported property.

The whole export behaviour is convenient in theory but complicated in practice, consider just redoing the whole thing. Or maybe the feature is fine and I just need to refactor the logic?