Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error is printed if an input source map is used. #3253

Closed
JoolsCaesar opened this issue Sep 8, 2018 · 0 comments · Fixed by #3392
Closed

An error is printed if an input source map is used. #3253

JoolsCaesar opened this issue Sep 8, 2018 · 0 comments · Fixed by #3392

Comments

@JoolsCaesar
Copy link

Bug report or feature request?
Bug report

Whenever you use an input source map, so you can map back to an original set of files an "INFO" message is output on stderr. It seems strange that this is output in an otherwise quiet run, let alone on stderr.
It looks to be coming from this line:
print_error("INFO: Using input source map: " + settings.content);

Uglify version (uglifyjs -V)
uglify-es 3.3.10

JavaScript input
Anything

The uglifyjs CLI command executed or minify() options used.
uglifyjs input.js -o output.js --source-map "content=input.js.map"

JavaScript output or error produced.
INFO: Using input source map: input.js.map

alexlamsl added a commit to alexlamsl/UglifyJS that referenced this issue Apr 29, 2019
alexlamsl added a commit that referenced this issue Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants