From 7847c98d0b8ac286d4b3802e081f98150b40ba39 Mon Sep 17 00:00:00 2001 From: Neil Manvar Date: Tue, 21 Nov 2017 13:26:32 -0800 Subject: [PATCH] Add note specifying Source Map directive is mandatory --- docs/sourcemaps.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/sourcemaps.rst b/docs/sourcemaps.rst index 8a2244b57eb8..e115a19216a8 100644 --- a/docs/sourcemaps.rst +++ b/docs/sourcemaps.rst @@ -145,6 +145,8 @@ sourcemaps) within Sentry. This removes the requirement for them to be web-accessible, and also removes any inconsistency that could come from network flakiness (on either your end, or Sentry's end). +Note: You must have the source map directive (``//# sourceMappingURL=...app.js.map``) present on the last line of the minified file in order for un-minfication to occur. + You can either interact with the API directly or you can upload sourcemaps with the help of the Sentry CLI (:ref:`upload-sourcemaps-with-cli`).