function normalizeModule(virtualConfig) {
	if (typeof virtualConfig === "string") {
		return {
			type: "",
			source() {
				return virtualConfig;
			}
		};
	} else if (typeof virtualConfig === "function") {
		return {
			type: "",
			source: virtualConfig
		};
	}
	return virtualConfig;
}
Normalizes a virtual module definition into a standard format
@param {VirtualModuleInput} virtualConfig The virtual module to normalize
@returns {VirtualModuleConfig} The normalized virtual module