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
@ry @bartlomieju @Andy (he/him) Please help
@dsherret Any thoughts?
i'd recommend using: https://github.com/lucacasonato/esbuild_deno_loader
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.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
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?
given esbuild deno loader is not working and giving errorsdid you open an issue?
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...
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?
yes
that's the goal
But PR is merged so is it going to be supported in 2.2?
that's part of the work towards that. It's a very big task so isn't going to land in a single pr
ohh alright, ok which blunder you will suggest to use with deno after this work, rspack, swc, turbo?
I don't know
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...
I can't say for sure. Hopefully. it's getting closer
ok is there any other issue or PR which we should track?
@dsherret thanks a lot for your replies and support. I appricate.
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.
Thank you so much.
some other active projects that I know of:
- https://github.com/orgsofthq/dsbuild
- https://github.com/nhrones/Devtools_Hot
- https://github.com/twosaturdayscode/esbuild-deno-plugin
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.