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