Issue with deno emit bundle in Workspaces - Need Help and Documentation
Hi everyone,
I'm having trouble with deno emit bundle function, when my project is in workspaces. It seems like the bundling process doesn't support workspaces. Has anyone encountered this issue before and can provide an example of how to handle this use case? Are there any official docs available that address this?
taking example from the official deno workspace docs: https://docs.deno.com/runtime/fundamentals/workspaces/
and deno/emit docs: https://jsr.io/@deno/emit
after creating the files mentioned in the doc, i.e.:
add two files
1. import_map.json
2. bundle.ts
// bundle.ts:
the following error occures which bundling:
Thanks in advance for your help!
4 Replies
Are you talking about the deno cli commandd?
Can you please review updated question and help if you can?
@bartlomieju Please help to solve...thanks
I'm sorry, here I am, I see you are talking about the deno emit package, I have no experience with since I think it's still in a very early phase
I suggest to you that you use
esbuild
instead of that packagealright thanks