Hello,
I am trying to write a custom helper that would work with local files. What is the preferred way to reconstruct a file path from a passed URL? url.fileURLToPath() does the job when the file URI scheme is used, but I need a universal solution. (I see that the {{imageDimensions}} helper solves this issue by referencing rendererInstance.siteConfig.domain and rendererInstance.inputDir, but it doesn’t seem to be possible for custom helpers.)
Mike