Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support sourcemap files in digested paths
The regular expression for generating digested paths in propshaft is updated to accommodate sourcemap files too. This will ensure the digested sourcemaps end `-sha.ext.map` instead of `ext-sha.map`. Services like Datadog that allow sourcemap uploads look specifically for files ending with `.js.map`, so this change allows compatibility. A corresponding test has been added in asset_test.rb, verifying that sourcemap files are correctly digesting their paths.
- Loading branch information