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
The changes in https://deno.com/blog/v1.19#deno-compile-now-works-more-reliably invalidates
const isExecutable: boolean = (Deno.mainModule == "file://$deno$/bundle.js");
as Deno.mainModule contains the full path of the compiled file.
Deno.mainModule
The value is something like file:///full/path/to/example/.cca844d9-1d71-0ea3-8b6c-8caee007a92c.js
file:///full/path/to/example/.cca844d9-1d71-0ea3-8b6c-8caee007a92c.js
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The changes in https://deno.com/blog/v1.19#deno-compile-now-works-more-reliably invalidates
as
Deno.mainModule
contains the full path of the compiled file.The value is something like
file:///full/path/to/example/.cca844d9-1d71-0ea3-8b6c-8caee007a92c.js
The text was updated successfully, but these errors were encountered: