We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deno compile will make import.meta.url an absolute path.
What variable should be used to distinguish whether the current program is compiled?
So I can choose whether to use import.meta.url or Deno.cwd
The text was updated successfully, but these errors were encountered:
Hi @gcxfd: This was already discussed in #6344
You might be interested in Deno.mainModule.
Deno.mainModule
Sorry, something went wrong.
No branches or pull requests
deno compile will make import.meta.url an absolute path.
What variable should be used to distinguish whether the current program is compiled?
So I can choose whether to use import.meta.url or Deno.cwd
The text was updated successfully, but these errors were encountered: