benawad / destiny

Prettier for File Structures
MIT License
3.53k stars 79 forks source link

Dynamic Import Problem #154

Closed RoMeAh-zz closed 4 years ago

RoMeAh-zz commented 4 years ago

i have a code in which i import dynamically. while i try to prettify the file structure i get a error of ERROR: Cannot find import ./Handlers/${t}

AnatoleLucet commented 4 years ago

Yes, we're aware of this. See #123 for more infos. But in short: Destiny can't resolve computed imports because it would need to evaluate your code.