feat(loader): use defaults in loader