import * as path from 'path' /** 生成项目相对路径 */ export const resolve = (dir: string) => path.join(process.cwd(), dir)