-
Notifications
You must be signed in to change notification settings - Fork 1
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
Building with xlsx npm module fails #3
Comments
|
It's a dependency of a dependency so removal is not possible. I believe it's related to file generation functionality (it makes an excel file inside the browser) and probably uses features from fs for this. I can try the empty module trick. I'm not entirely sure if the dependency is actually relevant and what happens then. Also, there's a possibility of using bundled version of these dependencies. I can't figure out how those should be declared to cbuild. Is this more SystemJS' feature than cbuild? I'd like to declare these modules so that they could be found when required, even if they produce bloat. |
I run into this yesterday:
I believe the module https://github.com/SheetJS/js-xlsx is the culprit. It would seem cbuild doesn't see node's internal modules correctly and tries to find them in the project folders?
I can make a complete test case later if you wish, but wanted to report this already...
The text was updated successfully, but these errors were encountered: