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

Is it possible to provide a cli command to convert ts file to js file ? #3543

Closed
wjw99830 opened this issue Dec 24, 2019 · 3 comments
Closed

Comments

@wjw99830
Copy link

wjw99830 commented Dec 24, 2019

Convert all .ts to .js including filenames and import urls. Make deno program run in both browser(type="module") and deno runtime without any modification and make import() work as expected.

Just like tsc && convert-dot-ts-to-dot-js.

@nayeemrmn
Copy link
Collaborator

I think any use case of this is intended to be satisfied by deno bundle.

Otherwise, such a tool would be easy to create as a user module once #3442 lands. I wouldn't expect a built-in tsc subcommand or anything like that: ref #3281.

@nayeemrmn
Copy link
Collaborator

@wjw99830 Can you close this?

@nayeemrmn
Copy link
Collaborator

@bartlomieju Satisfied by deno bundle. Can this be closed?

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