Skip to content

Commit 205ebbd

Browse files
szuendDevtools-frontend LUCI CQ
authored andcommitted
[deps] Remove sourceMappingUrl from intl-messageformat
This CL removes the //#sourceMappingUrl magic comment from a third party runtime dependency. It seems intl-messageformat as a slight build missconfiguration in that it emits a sourceMappingUrl comment but doesn't bundle the source map. To silence console warnings for DevTools-on-DevTools, we can omit the magic comment. [email protected] Bug: None Change-Id: Iee75d7c94e77a93dd0a4406d0e45888786b4c032 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5952526 Auto-Submit: Simon Zünd <[email protected]> Commit-Queue: Alex Rudenko <[email protected]> Reviewed-by: Alex Rudenko <[email protected]>
1 parent f214071 commit 205ebbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

front_end/third_party/intl-messageformat/README.chromium

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ wget -qO- https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-9.8
1919

2020
Local Modifications:
2121
- Copied package/index.d.ts to package/intl-messageformat.esm.d.ts for type checking.
22-
- Copied .d.ts files of icu-message-parser and adjusted import paths in intl-messasgeformat .d.ts files
22+
- Copied .d.ts files of icu-message-parser and adjusted import paths in intl-messasgeformat .d.ts files
23+
- Removed //#sourceMappingUrl from intl-messageformat.esm.js because no source map exists

front_end/third_party/intl-messageformat/package/intl-messageformat.esm.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1708,4 +1708,3 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17081708
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17091709
PERFORMANCE OF THIS SOFTWARE.
17101710
***************************************************************************** */
1711-
//# sourceMappingURL=intl-messageformat.esm.js.map

0 commit comments

Comments
 (0)