common-path-suffix
Reverse of common-path-prefix
const paths = ['templates/main.handlebars', 'templates/_partial.handlebars']
commonPathSuffix(paths, '/') // returns '.handlebars'Reverse of common-path-prefix
const paths = ['templates/main.handlebars', 'templates/_partial.handlebars']
commonPathSuffix(paths, '/') // returns '.handlebars'