lib/index.js
function postConfig (context, _ref) {
  var merge = _ref.merge

  return function (prevConfig) {
    var _context$copyPlugin = context.copyPlugin,
      patterns = _context$copyPlugin.patterns,
      options = _context$copyPlugin.options

    var plugin = new _copyWebpackPlugin2.default(patterns, options)
    return merge({plugins: [plugin]})
  }
}
function postConfig (context, _ref) {
  var merge = _ref.merge

  return function (prevConfig) {
    var _context$copyPlugin = context.copyPlugin,
      patterns = _context$copyPlugin.patterns,
      options = _context$copyPlugin.options

    var plugin = new _copyWebpackPlugin2.default(patterns, options)
    return merge({plugins: [plugin]})
  }
}
function postConfig ( context , _ref ) { var merge = _ref . merge return function ( prevConfig ) { var _context$copyPlugin = context . copyPlugin , patterns = _context$copyPlugin . patterns , options = _context$copyPlugin . options var plugin = new _copyWebpackPlugin2 . default ( patterns , options ) return merge ( { plugins : [ plugin ] } ) } }
Instantiate the copy plugin.
Instantiate the copy plugin .