Skip to content

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

Description

@guylan-dieu

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions