Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Previously sourcemap files were generated alongside transpile JavaScript, *.js.map
. Those files are no longer generated and sourcemap data is only appended to the transpiled JavaScript when watching in development mode. When deleting files, the watcher attempts to delete files that are not present.
Proposed resolution
Remove the fs.unlink
step for sourcemap files.
Comments
Comment #2
GrandmaGlassesRopeManComment #3
droplet CreditAttribution: droplet commentedComment #5
droplet CreditAttribution: droplet commentedComment #8
star-szrMakes sense, looks like the *.js.map generation was removed in #2868137: Improve JavaScript build tooling.. Gave this a quick test as well.
Committed 6eaa470 and pushed to 8.5.x. Thanks!