The vendor.js file is created, but the Minification of vendor.js fails with the above exception.
The only solution is to add var regeneratorRuntime to the excel.js or replace the codeline:
regeneratorRuntime = runtime;
with
window.regeneratorRuntime = runtime;
but this isn't very suitable because every time anything changes in the libman.json, the file is replaced from cdnjs and you have do add the lines again.
One other "dirty solution" would to add an empty js-file which only contains the var regeneratorRuntime.
Edit: I have just added the single exceljs-lib to bundleconfig.js to keep it simply. Usually there a lot more libs.
Installed product versions
Description
Minifying of ExcelJs fails with error message:
Steps to recreate
Now create a bundle for the lib:
bundleconfig.json
The vendor.js file is created, but the Minification of vendor.js fails with the above exception.
The only solution is to add
var regeneratorRuntime
to the excel.js or replace the codeline:regeneratorRuntime = runtime;
with
window.regeneratorRuntime = runtime;
but this isn't very suitable because every time anything changes in the libman.json, the file is replaced from cdnjs and you have do add the lines again.
One other "dirty solution" would to add an empty js-file which only contains the
var regeneratorRuntime
.Edit: I have just added the single exceljs-lib to bundleconfig.js to keep it simply. Usually there a lot more libs.