code: function generateLoaders (loader, loaderOptions) {
      const loaders = []
  
      // Extract CSS when that option is specified
      // (which is the case during production build)
      if (options.extract) {
        loaders.push(MiniCssExtractPlugin.loader)
      }
      else {
        loaders.push('vue-style-loader')
      }
  
      loaders.push(cssLoader)
  
      if (options.usePostCSS) {
        loaders.push(postcssLoader)
      }
  
      if (loader) {
        loaders.push({
          loader: loader + '-loader',
          options: Object.assign({}, loaderOptions, {
            sourceMap: options.sourceMap
          })
        })
      }
  
      return loaders
    }
docs: generate loader string to be used with extract text plugin