code: function getImportList(wxss, filePath) {
    const reg = /@import\s+(?:(?:"([^"]+)")|(?:'([^"]+)'));/ig
    const importList = []
    let execRes = reg.exec(wxss)
  
    while (execRes && (execRes[1] || execRes[2])) {
      importList.push({
        code: execRes[0],
        path: path.join(path.dirname(filePath), execRes[1] || execRes[2]),
      })
      execRes = reg.exec(wxss)
    }
  
    return importList
  }
docs: 获取 import 列表