You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
369 B
14 lines
369 B
import path from "path"
|
|
|
|
export const rootDir = path.resolve(__dirname, "../../")
|
|
|
|
|
|
export function getOutput(...p: string[]) {
|
|
return path.resolve(rootDir, "packages/princess-ui",...p)
|
|
}
|
|
export function getPath(...p: string[]) {
|
|
return path.resolve(rootDir, ...p)
|
|
}
|
|
export function getPkgs(...p: string[]) {
|
|
return path.resolve(rootDir, "packages", ...p)
|
|
}
|