I'd like to be able to import templates and scripts using the same path everytime to avoid imports like import ../../../templates/log.mcbt
My solution may to add a new prefix pointing to the root folder. Maybe */ to keep the same as root reference for functions, or @/ to defer a bit from root reference for functions (And because root reference for functions actually point to the current namespace, where root reference for imports would point to project's src folder)
I'd like to be able to import templates and scripts using the same path everytime to avoid imports like
import ../../../templates/log.mcbt
My solution may to add a new prefix pointing to the root folder. Maybe
*/
to keep the same as root reference for functions, or@/
to defer a bit from root reference for functions (And because root reference for functions actually point to the current namespace, where root reference for imports would point to project'ssrc
folder)