ilearnio / module-alias

Register aliases of directories and custom module paths in Node
MIT License
1.76k stars 69 forks source link

open file use alias #109

Closed borodadada closed 4 years ago

borodadada commented 4 years ago

Hello! How i can open file use this alias? Or only load module use require ? Node js.

Kehrlann commented 4 years ago

Hi @borodadada ! module-alias is made for loading modules but you could hack your way around it. See: https://github.com/ilearnio/module-alias/issues/71

borodadada commented 4 years ago

thank you