From fd9cf356ee24acc36ef984f2a23ad4d8065fa3ce Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Thu, 10 Apr 2025 16:31:49 +0200 Subject: [PATCH] Fix uglify example command uglify's `-o` should point to the minified output, not to the sourcemap --- .../javascript/common/sourcemaps/uploading/uglifyjs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/javascript/common/sourcemaps/uploading/uglifyjs.mdx b/docs/platforms/javascript/common/sourcemaps/uploading/uglifyjs.mdx index 240db85869cb57..4ef53eafa75fb6 100644 --- a/docs/platforms/javascript/common/sourcemaps/uploading/uglifyjs.mdx +++ b/docs/platforms/javascript/common/sourcemaps/uploading/uglifyjs.mdx @@ -17,7 +17,7 @@ First, configure UglifyJS to output source maps: ``` uglifyjs app.js \ - -o app.min.js.map \ + -o app.min.js \ --source-map url=app.min.js.map,includeSources ```