add moduleType resolver, slugify