Skip to content

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