deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

None Javascript Bundlers

Open tiloio opened this issue 4 years ago • 1 comments

Will it be possible to run none Javascript bundlers (like esbuild or swc)?

So that you can use maybe Deno.run to execute none deno stuff?

Would be great to have a performant bundler for SSR :)

tiloio avatar Oct 28 '21 16:10 tiloio

There's no need to bundle for Deploy. You can use imports.

That said, you can use esbuild-wasm inside of deploy for bundling frontend javascript. The fresh framework, for example, uses it: https://github.com/lucacasonato/fresh/blob/95289380f3f8bb85c8cc2d0fc3e5ab2ab4de9962/src/server/deps.ts#L21

ry avatar Oct 28 '21 16:10 ry