code: function patchComponentSync (content, component, options, resolveSync) {
    let parts = getParts(component, options)
    let modules = [...parts.script, ...parts.style]
  
    modules.forEach(module => {
      module.valid = assurePathSync(module.path, resolveSync)
    })
  
    return patchContent(content, parts)
  }
docs: Patch the original .vue file with additional peer modules.
  @param {string} content .vue file content
  @param {string} component Component name
  @param {Object} options veui-loader options
  @param {function} resolveSync custom synchronous resolve function to see if target peer exists
  @returns {string} The patched content