marioui-tools
Version:
tools for mario-ui library
14 lines (13 loc) • 322 B
JavaScript
/*
* @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
}