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 TS's outFile in runtime.ts, deno bundle input.ts should output a single bundled file. #21

Closed
ry opened this issue May 30, 2018 · 5 comments

Comments

@ry
Copy link
Member

ry commented May 30, 2018

No description provided.

@ry ry added this to the future milestone Aug 7, 2018
@kitsonk
Copy link
Contributor

kitsonk commented Aug 8, 2018

Just for future reference, this is likely to be a bit more complicated. --outFile essentially just concatenates the "program" and works really will with AMD, but is problematic when using other module formats. It is really simplistic and wouldn't handle a lot of things.

One the other hand, runtime.ts in combination with os.ts has a higher order system for dealing with whole "programs" which could be used to iterate over all the modules and write out a "bundle". No matter what it is certainly possible.

@ry
Copy link
Member Author

ry commented Aug 8, 2018

That's a reason to continue using AMD for .deno/gen. I like the idea of concatenating files because its very fast.

@kitsonk
Copy link
Contributor

kitsonk commented Sep 6, 2018

#693 is an initial step in that direction.

@bartlomieju
Copy link
Member

Is this still relevant? Can we move to denoland/std#116?

@ry
Copy link
Member Author

ry commented Feb 12, 2019

Yes. Let's discuss there.

@ry ry closed this as completed Feb 12, 2019
hardfist pushed a commit to hardfist/deno that referenced this issue Aug 7, 2024
Allows returning from functions that take a HandleScope
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