Hi guys, I have a Utils module inside my main script folder (script located at {ProjectRoot}/scripts), and I’d want to import and use some functions from that module from another script inside a block (script located inside {ProjectRoot}/blocks/blockName/scripts). Is there any way to do so? If not, what workaround do you recommend?
I’ve tried both relative and absolute paths when importing the module from inside my block’s script but nothing seems to satisfy the editor’s JS engine, so my guess is that SparkAR is blocking sharing stuff from a different context than the block’s for some reason. Does that make sense? Could someone confirm this theory?
Thanks!