code: async function getContent(wxss, filePath, cwd) {
    let importList = []
  
    if (wxss) {
      const currentImportList = getImportList(wxss, filePath)
      
      for (const item of currentImportList) {
        // 替换掉 import 语句，不让 less 编译
        wxss = wxss.replace(item.code, `/* *updated for miniprogram-custom-component* ${item.code} */`)
  
        // 处理依赖的 wxss
        const importWxss = await _.readFile(item.path)
        const importInfo = await getContent(importWxss, item.path, cwd)
  
        // 获取依赖列表
        importList.push(new Vinyl({
          cwd,
          path: item.path,
          contents: Buffer.from(importInfo.wxss, 'utf8'),
        }))
        importList = importList.concat(importInfo.importList)
      }
    }
  
    return {
      wxss,
      importList,
    }
  }
docs: 获取 wxss 内容