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

Complete the documentation about the use of a JavaScript Bundler #5

Open
guylan-dieu opened this issue Oct 5, 2021 · 0 comments
Open

Comments

@guylan-dieu
Copy link

guylan-dieu commented Oct 5, 2021

I am trying to use webmscore in Angular 12 with WebPack 5.50.0.

It would be nice to complete the documentation with a working example to use webmscore with WebPack.

Without extra configuration, using WebMscore.load from ES6 import produce ReferenceError:

import WebMscore from 'webmscore';

async test() {
    await WebMscore.ready;
    const score = await WebMscore.load('mscx', data);
}

Uncaught ReferenceError: Path_to_my_project_node_modules_angular_devkit_build_angular_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0_ is not defined

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

No branches or pull requests

1 participant