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
[Error]: WebAssembly issue. #605
Comments
Look at the webpack.config.json file for curlconverter.com: https://github.com/curlconverter/curlconverter.github.io/blob/master/webpack.config.js |
@verhovsky - can I suggest that if not imported etc you look for these via script tag in window (if window is defined). Then throw error if not found. (in window & in node modules). Tho when using the "built" version from "esm.sh" - this error still throws. (Which in the online build - it should also be automatically imported / added to the build). |
@verhovsky - just looking over. What about possibly using as dynamic import in browser if not in window? Then if in window use a basic typeof check to validate its the proper WASM files needed? (just a thought) |
I don't understand what you're suggesting. |
@verhovsky when using a build from say ESM.sh (cdn). These will / were not resolving properly. As well - possibly a variable / way to DEFINE the path you want to use for WASM might be ideal. 👌 |
Can not seem to get things working - do not know if my environment etc? (inside iframe & can not set package.json)
Would be great for proper example of usage via import in browser plus proper build to use.
The text was updated successfully, but these errors were encountered: