code: function getScssVariables () {
    const pkgPath = `${root}/package.json`
    const pkg = existsSync(pkgPath) ? require(pkgPath) : {}
    let data = null
    let themePath = pkg.theme
    if (!themePath) {
      themePath = './src/theme/variables.scss'
    }
  
    if (isString(themePath)) {
      if (existsSync(themePath)) {
        let sassImport = resolvePath(themePath)
        data = `@charset "UTF-8"; @import ${sassImport};`
      }
    } else if (isArray(themePath)) {
      let sassImports = themePath
      sassImports = sassImports.map((item) => {
        if (existsSync(item)) {
          return resolvePath(item)
        } else {
          console.log(`[Theme]: 主题目录不存在! ${item}`)
        }
        return ''
      })
  
      data = `@charset "UTF-8"; @import ${sassImports.join(',')};`
    }
  
    return data
  }
docs: 获取业务定义的scss的变量