I have a src directory for source files and I've set the baseUrl option in my tsconfig.json to . (base directory). When I import files within src into other files within src (as shown in the example below)
src/commands/information/Ping.command.ts
import type { AstraniumClient } from "src/lib/Client";
import { Command } from "src/lib/Command";
and run the compiled JS code (using CJS), I get an error:
Error: Cannot find module 'src/lib/Command'