About web bundle in theia
#13927
-
I want't to replace theia default web bundler with other tools like rspack . But I don't know how to do it. Is there any guidelines or examples ? |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Jul 29, 2024
Replies: 1 comment 3 replies
-
Hey @un4gt, I don't think you will find find any guidelines or examples for that. AFAIK no one else has done this so far. There were questions in the past (see here) but I don't think anything came out of it. Note that we build our own plugin for bundling native dependencies. Without it, it might be difficult to bundle the backend of your Theia app. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not sure what to recommend - webpack is simply inherently slow. You can create an issue on maybe switching to a different bundler like esbuild.
The only recommendation I can give for the development workflow is: Are you using the webpack watch mode? It recompiles consistently in <1s on my machine. It works fairly well for us right now.