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 `deno eval` code as module #3148

Merged
merged 1 commit into from Oct 19, 2019

Conversation

@kevinkassimo
Copy link
Contributor

kevinkassimo commented Oct 19, 2019

Allow deno eval to take in code as module.
This automatically enables ES imports, top level await and TS support.

Through:

  • Add an Option for code to RecursiveLoad::Main
  • Add an Option for code to worker.execute_mod_async
@kevinkassimo kevinkassimo changed the title Allow `deno eval` run code as module Run `deno eval` code as module Oct 19, 2019
@ry
ry approved these changes Oct 19, 2019
Copy link
Collaborator

ry left a comment

LGTM - no comments

@ry ry merged commit eff2a27 into denoland:master Oct 19, 2019
10 checks passed
10 checks passed
test macOS-10.14
Details
test_std macOS-10.14
Details
test windows-2016
Details
test_std windows-2016
Details
test ubuntu-16.04
Details
test_debug ubuntu-16.04
Details
test_std ubuntu-16.04
Details
bench ubuntu-16.04
Details
lint ubuntu-16.04
Details
license/cla Contributor License Agreement is signed.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.