mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 01:36:08 +08:00
6 lines
117 B
TypeScript
6 lines
117 B
TypeScript
import path from 'path';
|
|
|
|
export default function root(fn = '.') {
|
|
return path.resolve(__dirname, '../../', fn);
|
|
}
|