Skip to content
New issue

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

▶ Run Main button for if (import.meta.main) #809

Open
scarf005 opened this issue Feb 12, 2023 · 0 comments
Open

▶ Run Main button for if (import.meta.main) #809

scarf005 opened this issue Feb 12, 2023 · 0 comments
Labels

Comments

@scarf005
Copy link

Is your feature request related to a problem? Please describe.

currently block with import.meta.main must be ran manually via deno run.

Describe the solution you'd like

image

add a ▶ Run Main above if (import.meta.main) { ... } like ▶ Run Test in Deno.test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants