Documentation
¶
Overview ¶
Package emitpath computes output file paths for transpiled Lua files. Ported from: src/transpilation/transpiler.ts (getEmitPath, getEmitPathRelativeToOutDir)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OutputPath ¶
OutputPath computes the output file path for a transpiled source file. sourceFile is the absolute path to the .ts/.tsx source. sourceRoot is the rootDir (or project/config directory if rootDir is unset). outDir is the output directory (absolute or empty for same-as-source). extension is the output extension without leading dot (default "lua").
func RelativeToOutDir ¶
RelativeToOutDir computes the output path relative to outDir. This is the path component that gets joined with outDir to form the full output path.
Types ¶
This section is empty.