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

Create Indigo WASM bundle with removed rendering part #2131

Closed
even1024 opened this issue Jul 17, 2024 · 1 comment · Fixed by #2136
Closed

Create Indigo WASM bundle with removed rendering part #2131

even1024 opened this issue Jul 17, 2024 · 1 comment · Fixed by #2136
Assignees

Comments

@even1024
Copy link
Collaborator

even1024 commented Jul 17, 2024

Background
Whole WASM Indigo bundle is quite large and major part of the code is on behalf of renderer and its 3rd party libraries like
png support, cairo graphics, etc. Indigo renderer is not used very often so it make sense to create a bundle version without the render code (Only Indigo core).

Solution
All render-related code should be put under the conditional compilation blocks.
The following files have to be added to Indigo bundle:

  1. indigo-ketcher-norender.js
  2. indigo-ketcher-separate-wasm-norender.wasm
@AlexeyGirin
Copy link
Collaborator

Verified verbally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants