Resolve path.resolve issue when jsDest and cssDest are not defined