Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose source maps bug in ManifestStaticFilesStorage
Current implementation of `HashedFilesMixin` relies on regex multiline mode to parse out the sourceMappingURL comment. As is, the filename is only correctly replaced when the comment is the first and only line in the JS file (exception to final single new line at EOF). Updated test case to include additional blank line above and below sourceMappingURL comment and adjusted the filename hash accordingly.
- Loading branch information