Hi I have found other node modules that I want to use in my project and uses routes as string that you pass as an argument (for example), to maintain the consistency of aliases in the project I would like to be able to use aliases also for those methods, is it possible to make use of some function that given a route with aliases returns me a string with the alias?
Example : global.moduleAlias('@Log/file.log') return '/storage/logs/file.log'
Hi I have found other node modules that I want to use in my project and uses routes as string that you pass as an argument (for example), to maintain the consistency of aliases in the project I would like to be able to use aliases also for those methods, is it possible to make use of some function that given a route with aliases returns me a string with the alias?
Example : global.moduleAlias('@Log/file.log') return '/storage/logs/file.log'
Kind regards.