code: function getConfig(api) {
  	const conf = api.resolveChainableWebpackConfig()
  
  	// because we are dealing with hot replacement in vsg
  	// remove duplicate hot module reload plugin
  	conf.plugins.delete('hmr')
  
  	const eslintRule = conf.module.rule('eslint')
  	if (eslintRule) {
  		const path = require('path')
  		const vsgPath = path.resolve(path.dirname(require.resolve('vue-styleguidist')), '../')
  		eslintRule.exclude.add(vsgPath)
  	}
  
  	// remove the double compiled successfully message
  	conf.plugins.delete('friendly-errors')
  	return api.resolveWebpackConfig(conf)
  }
docs: Make webpackConfig for styleguidist
  @param {Object} api