UNPKG

actionhero

Version:

actionhero.js is a multi-transport API Server with integrated cluster capabilities and delayed tasks

10 lines (8 loc) 300 B
import { config } from "../config"; /** * Used by generator functions running from your `dist`, it replaces the path with your `src` * Relies on api.config.general.paths */ export function replaceDistWithSrc(f: string) { return f.replace(config.general.paths.dist, config.general.paths.src); }