change `distDir` to `manifestPath`