lib/index.js
function copyOptions (options) {
  return Object.assign(
    function (context) {
      return function (prevConfig) {
        context.copyPlugin = context.copyPlugin || {}

        // Merge the provided copy plugin config into the context
        context.copyPlugin = _extends({}, context.copyPlugin, {
          options: options,
        })

        // Don't alter the config yet
        return prevConfig
      }
    },
    {post: postConfig}
  )
}
function copyOptions (options) {
  return Object.assign(
    function (context) {
      return function (prevConfig) {
        context.copyPlugin = context.copyPlugin || {}

        // Merge the provided copy plugin config into the context
        context.copyPlugin = _extends({}, context.copyPlugin, {
          options: options,
        })

        // Don't alter the config yet
        return prevConfig
      }
    },
    {post: postConfig}
  )
}
function copyOptions ( options ) { return Object . assign ( function ( context ) { return function ( prevConfig ) { context . copyPlugin = context . copyPlugin || { } // Merge the provided copy plugin config into the context context . copyPlugin = _extends ( { } , context . copyPlugin , { options : options , } ) // Don't alter the config yet return prevConfig } } , { post : postConfig } ) }
Sets options for the copy plugin.
Sets options for the copy plugin .