Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
return path;
};
var resolveAndUpdate = function(key) {
if (Array.isArray(options[key])) {
options[key] = options[key].map(resolvePath);
} else if (typeof options[key] === 'string') {
options[key] = resolvePath(options[key]);
}
};
var pathKeys = ['js'];
pathKeys.forEach(resolveAndUpdate);
compile(options);