UNPKG

actionhero

Version:

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

13 lines (12 loc) 470 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.replaceDistWithSrc = void 0; const config_1 = require("../config"); /** * Used by generator functions running from your `dist`, it replaces the path with your `src` * Relies on api.config.general.paths */ function replaceDistWithSrc(f) { return f.replace(config_1.config.general.paths.dist, config_1.config.general.paths.src); } exports.replaceDistWithSrc = replaceDistWithSrc;