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
Since the Project is dead i will just copy what i've written in documentationjs:
For the time being i recommend the following:
let PackagePath = process.argv[1]; // >exemplary> /npm/repo/your-package or /home/Someone/Projects/your-package
let CurrentWorkingDirectory = process.cwd(); // /somewhere/else
PackagePath should resolve to the directory to where the package itself is, process.cwd() will give you the directory the js/bin is executed at.
This can be used to have a BaseClass to resolve to the right import.meta.url-path you wanted to get.
I know this is obvious stuff, but just for people looking for it :p
After switching the path with the process.* alternatives docs should build fine.
The text was updated successfully, but these errors were encountered:
Since the Project is dead i will just copy what i've written in documentationjs:
For the time being i recommend the following:
PackagePath should resolve to the directory to where the package itself is, process.cwd() will give you the directory the js/bin is executed at.
This can be used to have a BaseClass to resolve to the right import.meta.url-path you wanted to get.
I know this is obvious stuff, but just for people looking for it :p
After switching the path with the process.* alternatives docs should build fine.
The text was updated successfully, but these errors were encountered: