-
Notifications
You must be signed in to change notification settings - Fork 337
Rollup Support #1287
Comments
Similar report #1274. To echo what I said, I think it's certainly possible to support mutliple bundlers, it's just not on our TODO list at the moment. |
Thanks for the quick response. Webpack accomplishes all the same things so I would also categorize this as low priority. This would be more of a refinement down the road I suppose. |
I created an example similar to the https://github.com/wtcross/svelte-ssr-cloudflare-worker-site Note the need to wrap |
Is it not possible to bundle a Worker project to a single Am I missing something? |
@PierBover as far as I can tell it forces a webpack build even if |
mmmmm - definitely should not be running webpack at all if you set |
I haven't seen that either. And I even used Rollup to bundle a worker (or at least I tested it). |
💡 Feature request
Overview and problem statement
It would be great for Wrangler to support Rollup for module bundling in addition to Webpack. The wasm module for Rollup enables importing and bundling wasm modules. With my limited understanding of Wrangler internals I think this would enable supporting Rollup as well.
Basic example
The svelte-ssr-worker project by @lukeed is a great example of a project that could benefit from this.
The text was updated successfully, but these errors were encountered: