import fs from "fs" ; import path from "path" ; const appDirectory = fs . realpathSync ( process . cwd ( ) ) ; function resolveApp ( relativePath ) { return path . resolve ( appDirectory , relativePath ) ; } export const APP_PATH = resolveApp ( "." ) ; export const OWN_PATH = path . resolve ( __dirname , ".." , "." ) ;