docs: function buildPlugin(name) {
    delete config.entry
  
    config.plugins.forEach((one, index) => {
      if (one.constructor.name === 'ExtractTextPlugin') {
        config.plugins.splice(index, 1)
      }
    })
  
    config.plugins.push(new ExtractTextPlugin({
      filename: 'index.min.css'
    }))
    config.entry = config.entry || {}
    config.entry['plugin'] = `src/plugins/${name.toLowerCase()}/index.js`
    config.output = {}
    config.output.libraryTarget = 'umd'
    config.output.library = `${namespace}${name}Plugin`
    config.output.filename = `index.min.js`
    config.output.path = path.resolve(__dirname, `../dist/plugins/${name.toLowerCase()}`)
    delete config.__vueOptions__
    return config
  }