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

Add decoders code to dist #1802

Open
ivmartel opened this issue Nov 18, 2024 · 0 comments
Open

Add decoders code to dist #1802

ivmartel opened this issue Nov 18, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@ivmartel
Copy link
Owner

Decoders code is provided by adding the decoders folder to the package without pre-processing. Webpack allows to process and include this code as part of the dist when creating workers when they are created with new Worker(new URL('./worker.js', import.meta.url));.
This would also mean that passing the scripts path when clients initialise dwv becomes unnecessary. The synchronous buffer decoding (SynchPixelBufferDecoder class) also becomes obsolete.

@ivmartel ivmartel added the enhancement New feature or request label Nov 18, 2024
@ivmartel ivmartel added this to the 0.35.0 milestone Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant