Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/commands/sourcemaps/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,10 @@ pub fn make_command(command: Command) -> Command {
.long("strip-common-prefix")
.action(ArgAction::SetTrue)
.help(
"Similar to --strip-prefix but strips the most common \
prefix on all sources references.",
"Strips the common prefix from source references in each sourcemap. \
When uploading multiple sourcemaps, the prefix is computed independently \
for each one. To strip the same explicit prefix from every sourcemap, use \
--strip-prefix.",
)
.conflicts_with("no_rewrite"),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ Options:
This will not modify the uploaded sources paths. To do that, point the upload or
upload-sourcemaps command to a more precise directory instead.
--strip-common-prefix
Similar to --strip-prefix but strips the most common prefix on all sources references.
Strips the common prefix from source references in each sourcemap. When uploading multiple
sourcemaps, the prefix is computed independently for each one. To strip the same explicit
prefix from every sourcemap, use --strip-prefix.
-i, --ignore <IGNORE>
Ignores all files and folders matching the given glob
-I, --ignore-file <IGNORE_FILE>
Expand Down