-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Deno bundle doesn't include the dependencies properly #5610
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
Comments
Need to look into it a bit more to say one way or another... |
@youknowriad, look at these issues: #3799, #3726 and this |
@lusatiro I don't think those issues and that PR has anything to do with this issue, especially since I created one of those issues and the PR you mentioned. :-D |
@kitsonk, I'm not telling that these issues and PR solves the problem.
Idk if it is the right approach so would be great know from you @kitsonk the right way! |
The approach used by @youknowriad result on:
This is not a very informative error e should be improved of course. |
Yeah, I had missed that it would have required lib And yes, |
Where can I find documentation on the Deno.bundle() API? |
@gensior the bundle() API is currently behind the unstable flag. Docs can be found at https://github.com/denoland/deno/blob/master/cli/js/lib.deno.unstable.d.ts#L648 |
@cknight thanks! |
Thanks a lot of your answers, I'm closing this issue now. Feel free to reopen if there's anything left to consider here. |
Hi there! and thanks for your amazing work on Deno.
I have the following code
an my (maybe wrong) assumption is that running
deno bundle index.js index.bundle.js
would give a single JS file including my code and its deps that I could load in an HTML module using a script module tag but the result doesn't embed my deps at the moment (causing JS errors).So I'm wondering:
Thanks
The text was updated successfully, but these errors were encountered: