UNPKG

marioui-tools

Version:
14 lines (13 loc) 322 B
/* * @Author: majiaao * @Date: 2020-09-23 00:24:09 */ const path = require('path'); const getProjectBasePath = (filePath) => { // it will returns the current working directory of the Node.js process. const cwd = process.cwd(); return path.join(cwd, filePath); }; module.exports = { getProjectBasePath }