if the module does not export function, we need to show warning, this is a breaking change.