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

Using Deno bundle programmatically requires the --unstable flag #6923

Closed
hardy925 opened this issue Jul 30, 2020 · 3 comments
Closed

Using Deno bundle programmatically requires the --unstable flag #6923

hardy925 opened this issue Jul 30, 2020 · 3 comments

Comments

@hardy925
Copy link

$ deno bundle mod.ts does not require the --unstable flag, however, if I use $ deno run --allow-read my_script.ts where my_script.ts` contains

const [, source] = await Deno.bundle("./mod.ts");
console.log(source);

I need the --unstable flag.

@lucacasonato
Copy link
Member

This is correct, programmatic access to the TS compiler APIs is still unstable. We have not finalized the APIs yet.

@hardy925
Copy link
Author

Thank you.

@kitsonk
Copy link
Contributor

kitsonk commented Jul 30, 2020

In fact we will be breaking those APIs: #4752

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

No branches or pull requests

3 participants