filter resources, not only src/dist