nl_tokens: Check whether has babel dep resolve plugin in the given plugin list
pl_tokens: function hasBabelDepPlugin ( plugins ) { return plugins . some ( <mask> => { let pluginItem = item ; if ( Array . isArray ( item ) ) { pluginItem = item [ 0 ] ; } if ( typeof pluginItem === 'string' ) { return pluginItem === DEP_PLUGIN_NAME ; } return pluginItem === programPlugins . resolveDep ; } ) ; }