If the bundleName is long, truncate it and append a hash. This occurs on the bundleName after removing extension and "!", so that .css and .js bundle names are the same.