remove spaces around `paths: [pagesDir]`