This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/node_modules/tsconfig-paths/src/options.ts
2025-01-13 09:33:52 +03:00

19 lines
304 B
TypeScript

import * as minimist from "minimist";
const argv = minimist(process.argv.slice(2), {
string: ["project"],
alias: {
project: ["P"],
},
});
const project = argv && argv.project;
export interface Options {
cwd: string;
}
export const options: Options = {
cwd: project || process.cwd(),
};