Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace dynamic require calls to be customizable #9432

Closed
paul-marechal opened this issue May 4, 2021 · 0 comments · Fixed by #9660
Closed

replace dynamic require calls to be customizable #9432

paul-marechal opened this issue May 4, 2021 · 0 comments · Fixed by #9660
Labels
enhancement issues that are enhancements to current functionality - nice to haves

Comments

@paul-marechal
Copy link
Member

Related: eclipse-theia/theia-ide#74 (comment)

Currently we use dynamic require calls in various backend places. This causes issues when trying to Webpack the backend.

To fix that issue, I think the best approach would be to expose a common script re-exposing require. This way we can replace imports of to that module with a custom one using Webpack in order to replace the actual method used.

@paul-marechal paul-marechal added the enhancement issues that are enhancements to current functionality - nice to haves label May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement issues that are enhancements to current functionality - nice to haves
Projects
None yet
1 participant