Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintain sourcemap file extensions #171

Merged

Commits on Dec 12, 2023

  1. 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.
    tagCincy committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    8542c1f View commit details
    Browse the repository at this point in the history
  2. update spec

    tagCincy committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    bb7c462 View commit details
    Browse the repository at this point in the history