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.
Parameters
Section titled “Parameters”sources
Section titled “sources”string[]
extension
Section titled “extension”string
rootDir
Section titled “rootDir”string
Returns
Section titled “Returns”string[]
One message per clashing name, naming every source behind it. Empty when none clash.