Skip to content

findOutputNameClashes

findOutputNameClashes(sources, extension, rootDir): string[]

Defined in: packages/simply-cicd-core/src/build/utamPageObjects.ts:249

Sources that would compile to the same output file.

The compiler’s output is flat — one file per source, named after it, whatever folder it came from — so two sources with one name silently leave one of them out of the package. Names are compared ignoring case, because the staging directory is usually on a case-insensitive filesystem (macOS, Windows), where Modal.js and modal.js are the same file.

string[]

string

string

string[]

One message per clashing name, naming every source behind it. Empty when none clash.