Theia packaging

Is there a way to package theia and not rely on node_modules for deployment?
That would be a little more robust and would probably shave some useless dependencies.

[original thread by Julien Eluard]

Unfortunately it is not possible to bundle backend since it is using relative paths to find language servers or other 3rd party distributable which are usually belong to node_modules.

You can clean up node modules as here:

[Julien Eluard]


Is this answer still up-to-date? Or is there a way to package theia without node_modules?

AFAIK this is up to date indeed.

Feel free to find ways to bundle everything into a self contained executable. Maybe by bundling the backend code using webpack and some amount of tree shaking. I don’t think it is a trivial issue.