packages/core/lib/group.js
function group(configSetters) {
  assertConfigSetters(configSetters)

  const pre = getHooks(configSetters, 'pre')
  const post = getHooks(configSetters, 'post')

  const groupBlock = context => config => invokeConfigSetters(configSetters, context, config)

  return Object.assign(groupBlock, { pre, post })
}
function group(configSetters) {
  assertConfigSetters(configSetters)

  const pre = getHooks(configSetters, 'pre')
  const post = getHooks(configSetters, 'post')

  const groupBlock = context => config => invokeConfigSetters(configSetters, context, config)

  return Object.assign(groupBlock, { pre, post })
}
function group ( configSetters ) { assertConfigSetters ( configSetters ) const pre = getHooks ( configSetters , 'pre' ) const post = getHooks ( configSetters , 'post' ) const groupBlock = context => config => invokeConfigSetters ( configSetters , context , config ) return Object . assign ( groupBlock , { pre , post } ) }
Combines an array of blocks to a new joined block. Running this single block
has the same effect as running all source blocks.

@param {Function[]} configSetters  Array of functions as returned by webpack blocks.
@return {Function}
Combines an array of blocks to a new joined block . Running this single block has the same effect as running all source blocks .