-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Make Dino.bundle()
work like dino bundle
?
#6734
Conversation
Currently, `dino bundle` can handle two things that `Dino.bundle()` won't: 1. Import maps 2. Dynamic imports This change brings the two closer together in terms of capability.
|
Currently getting: ``` The filename, directory name, or volume label syntax is incorrect. (os error 123) ``` Perhaps a file url would help.
Should fix: ``` Uncaught URIError: File URL contains invalid path ```
Ref #4752 I am not sure that we want to inherit the CLI's When you say it doesn't support dynamic imports, what do you mean? This PR doesn't seem to address that as all if there is an issue there. |
Agreed, that should be passed as an option in 3rd argument.
|
Urrr... better to have an options bag... but still better to not take the change until we refactor in #4752 IMO.
👍 |
Sounds like the consensus is:
Is that right? If so, it probably makes the most sense to close this PR and continue in #4752. |
This admittedly falls at least a little into the "I'm holding it wrong" category of use-cases, but in trying to see what it would be like to turn
dino
into a quick-and-dirty dev bundler I found thatdino bundle
can handle two things thatDino.bundle()
won't:This change would bring the two closer together in terms of capability, if that's desirable.