Skip to content

allow to optimize wasm build for any runtime environment #435

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

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

Trim
Copy link
Contributor

@Trim Trim commented Nov 8, 2022

Hello,

I'm working on a Node.js project which needs to scan QR Code directly from Node.

To be able to use the wasm build within Node.js runtime environment, I had to replace the optimizer from web to node.

I think we can provide a build option so user can build with optimization for any emscripten environment.

I've took the list of available environments from:
https://github.com/emscripten-core/emscripten/blob/52e380517269b9e2d9341ff80f54e0b6f7398898/src/shell.js#L93

@axxel axxel merged commit ffeeffb into zxing-cpp:master Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants