Throws if configuration is invalid or targetType is none or source library, otherwise does nothing.
See Implementation
Throws if configuration is invalid or targetType is none or source library, otherwise does nothing.