Skip to content

Commit

Permalink
Add a comment to explain the reason behind sourcemappingURL
Browse files Browse the repository at this point in the history
  • Loading branch information
cbravobernal committed Jan 30, 2024
1 parent 21a3bbe commit cad52d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,10 @@ module.exports = function(grunt) {
} );

/**
* Build assertions for the lack of source maps in JavaScript files.
* Compiled JavaScript files may link to sourcemaps. In some cases,
* the source map may not be available, which can cause 404 errors when
* browsers try to download the sourcemap from the referenced URLs.
* Ensure that sourcemap links are not included in JavaScript files.
*
* @ticket 24994
* @ticket 46218
Expand Down

0 comments on commit cad52d7

Please sign in to comment.