swift_performance_script_src
This filter will be called before Swift Performance will load a javascript file to merge it.
Parameters
$src
string, contains the full path for the javascript file
Return
string
Example
// Remove www. from script path
add_filter('swift_performance_script_src', function($src){
return str_replace('www.','',$src);
});