Custom Webix Build

Hi,

Following the instructions for a custom Webix build, the output from “npm run build” is a bit different from the distributed webix.js

For example it has a large section

var REACT_ELEMENT_TYPE;
function _jsx(type, props, key, children) {
...

and functions are declared as

exports.extend = function extend(base, source, force) {

instead of

exports.extend = function (base, source, force) {

What do I need to do to get the same build output as the distributed one?

Thanks
Emil

Update rollup.config.js

plugins.push(babel({
    exclude: "node_modules/**",
    presets: [
        [
            "@babel/preset-env",
            {
                targets: { "ie": "8" }
            }
        ]
    ]
}));

to

plugins.push(babel({
    exclude: "node_modules/**",
    presets: [
        [
            "@babel/preset-env",
            {
                loose: true,
                targets: { "ie": "8" },
                exclude: [ "transform-function-name" ]
        
            }
        ]
    ]
}));

Thanks Maksim.