You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 7, 2021. It is now read-only.
Goal: be able to call requireRoot("..."); from anywhere in the project, knowing that root means "/src". That way, no need to go upwards in folders (e.g., require("../../../foo/bar).
This willl allow for more consistency and less ../../.. guesswork/mess
Goal: be able to call requireRoot("..."); from anywhere in the project, knowing that root means "/src". That way, no need to go upwards in folders (e.g., require("../../../foo/bar).
This willl allow for more consistency and less ../../.. guesswork/mess
Use https://www.npmjs.com/package/app-root-path
The text was updated successfully, but these errors were encountered: