packages/okam-build/lib/processor/helper/init-babel.js
function initLocalPolyfillPlugins(polyfills, plugins) {
    polyfills.forEach(item => {
        let pluginItem = polyfillPlugin[item.type];
        plugins.push([
            pluginItem, {polyfill: item}
        ]);
    });
}
function initLocalPolyfillPlugins(polyfills, plugins) {
    polyfills.forEach(item => {
        let pluginItem = polyfillPlugin[item.type];
        plugins.push([
            pluginItem, {polyfill: item}
        ]);
    });
}
function initLocalPolyfillPlugins ( polyfills , plugins ) { polyfills . forEach ( item => { let pluginItem = polyfillPlugin [ item . type ] ; plugins . push ( [ pluginItem , { polyfill : item } ] ) ; } ) ; }
Initialize the local polyfill plugins

@inner
@param {Array.<Object>} polyfills the polyfill list
@param {Array} plugins the existed plugin list
Initialize the local polyfill plugins