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

Update api-wasm.md #5

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Update api-wasm.md #5

wants to merge 1 commit into from

Commits on Jul 18, 2020

  1. Update api-wasm.md

    Trying to run the example generated in an error: 
    SyntaxError: The requested module 'in3-wasm' is expected to be of type CommonJS,
    which does not support named exports. 
    CommonJS modules can be imported by importing the default export.
    For example: import pkg from 'in3-wasm'; const { IN3 } = pkg;
    
    Thus, added this change, this is executing as expected.
    balajipachai authored Jul 18, 2020
    Configuration menu
    Copy the full SHA
    7a9c3d6 View commit details
    Browse the repository at this point in the history