This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ts from "typescript"; | |
import fs from "node:fs"; | |
import path from "node:path"; | |
import { fileURLToPath } from "node:url"; | |
const SKIP_THIRD_PARTY_MODULES = true; | |
const __dirname = path.dirname(fileURLToPath(import.meta.url)); | |
/** | |
* Get the module path based on the base directory. |