index.js
function moveETP2End(config) {
    if (!ExtractTextPlugin) return

    const etps = config.plugins.filter(val => val instanceof ExtractTextPlugin)

    _.chain(config.plugins)
        .pullAll(etps)
        .push(...etps)
        .value()
}
function moveETP2End(config) {
    if (!ExtractTextPlugin) return

    const etps = config.plugins.filter(val => val instanceof ExtractTextPlugin)

    _.chain(config.plugins)
        .pullAll(etps)
        .push(...etps)
        .value()
}
function moveETP2End ( config ) { if ( ! ExtractTextPlugin ) return const etps = config . plugins . filter ( val => val instanceof ExtractTextPlugin ) _ . chain ( config . plugins ) . pullAll ( etps ) . push ( ... etps ) . value ( ) }
mutate. The etps should behind CommonsChunkPlugin
@param config
mutate . The etps should behind CommonsChunkPlugin