newEntryPoint
export function newEntryPoint(
mainSrc: string | Source,
options: {
allowModuleEntryPoint??: boolean
errorCollector: ErrorCollector
moduleSrcs: string | Source[]
validatorTypes: ScriptTypes
}
): EntryPoint
Creates a new entry point This function can't be placed inside EntryPoint.js because that would create a circular import dependency
Arguments
1. mainSrc
mainSrc: string | Source
2. options
options: {
allowModuleEntryPoint??: boolean
errorCollector: ErrorCollector
moduleSrcs: string | Source[]
validatorTypes: ScriptTypes
}
Returns
EntryPoint