Bhaumin
Bhaumin4w ago

Deno Emit for Bundling - Potential Open Source Contributions

Hi Deno Team, We're exploring using deno emit as the future of bundling for Deno projects and are very interested in contributing to its development. Our team is ready and willing to submit PRs and tackle open issues related to deno emit as open source contributions. Before we begin, we'd like to confirm that you're also considering deno emit for this purpose and that there aren't any other planned approaches at the moment. This confirmation would allow us to align our efforts with your vision and ensure our contributions are valuable. We're eager to start contributing and are awaiting your confirmation. Thanks!
18 Replies
Bhaumin
BhauminOP4w ago
@ry @bartlomieju @Andy (he/him) Please help @dsherret Any thoughts?
dsherret
dsherret4w ago
GitHub
GitHub - lucacasonato/esbuild_deno_loader: Deno module resolution f...
Deno module resolution for esbuild. Contribute to lucacasonato/esbuild_deno_loader development by creating an account on GitHub.
dsherret
dsherret4w ago
i've also been slowly extracting out resolution code from the CLI for use in rolldown and rspack. I have a branch I've been working on to get it working in rolldown, but I'm taking a break for a week because of the Deno 2.2 release next week
Bhaumin
BhauminOP4w ago
great, are we considering using rspack in future? can we use it right now because while bundling vs code extension from your given esbuild deno loader is not working and giving errors. can you please share your PR? And after work will be done in that PR we will be able to use rspack also?
dsherret
dsherret4w ago
given esbuild deno loader is not working and giving errors
did you open an issue?
dsherret
dsherret4w ago
i just opened this PR last week: https://github.com/denoland/deno/pull/27766 -- i don't have any pending PRs at the moment
GitHub
refactor: add WorkspaceFactory and ResolverFactory by dsherret ...
Allows easily constructing a DenoResolver using the exact same logic that we use in the CLI (useful for dnt and for external bundlers). This code is then used in the CLI to ensure the logic is alwa...
Bhaumin
BhauminOP4w ago
where we should open issue in es build packages repo, right? And after work will be done in that PR we will be able to use rspack directly to build deno project?
dsherret
dsherret4w ago
yes that's the goal
Bhaumin
BhauminOP4w ago
But PR is merged so is it going to be supported in 2.2?
dsherret
dsherret4w ago
that's part of the work towards that. It's a very big task so isn't going to land in a single pr
Bhaumin
BhauminOP4w ago
ohh alright, ok which blunder you will suggest to use with deno after this work, rspack, swc, turbo?
dsherret
dsherret4w ago
I don't know
Bhaumin
BhauminOP4w ago
before 2.3 is it going to be supported? please share if you can because we have so much projects which blocked as of now...
dsherret
dsherret4w ago
I can't say for sure. Hopefully. it's getting closer
Bhaumin
BhauminOP4w ago
ok is there any other issue or PR which we should track? @dsherret thanks a lot for your replies and support. I appricate.
dsherret
dsherret4w ago
GitHub
Tracking issue for refactors to support external bundlers · Issue #...
Tracking issue for refactorings occurring internally in the Deno codebase to support external bundlers. Most of this work is done, but still a bit to do.
Bhaumin
BhauminOP4w ago
Thank you so much.
Ooker
Ooker4w ago
GitHub
GitHub - orgsofthq/dsbuild: 📦 Build modern websites with zero added...
📦 Build modern websites with zero added frameworks. Deno, React, JS/TS, & Markdown MDX supported. - orgsofthq/dsbuild
GitHub
GitHub - nhrones/Devtools_Hot
Contribute to nhrones/Devtools_Hot development by creating an account on GitHub.
GitHub
GitHub - twosaturdayscode/esbuild-deno-plugin: Deno modules resolut...
Deno modules resolution and loading for esbuild. Contribute to twosaturdayscode/esbuild-deno-plugin development by creating an account on GitHub.

Did you find this page helpful?