-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Enable a lumino dependancies to be built in serverside only code #470
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Problem
It is not currently possible to statically include code that depends on
@lumino/domutils
in a platform that performs serverside code bundling. The objective here is not to enable SSR withlumino
but to allow for packages that use lumino to be able to be easily used within the build environment of something likenext.js
orremix
.There is an equivalent issue open for
jupyterlab
here 13429Proposed Solution
Remove or guard any references to browser only globals in
lumino
code where they occur at file scope or in objects or functions that are immediately executed on import.The text was updated successfully, but these errors were encountered: