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

Is it possible to add support for inline source maps when code is piped? #1722

Closed
serapath opened this issue Mar 28, 2017 · 5 comments
Closed

Comments

@serapath
Copy link

I get an error, that inline source maps is not supported when code is streamed to uglifyjs.
I would like to avoid to write intermediate artifact files only to read them with uglifyjs and then delete them.

Is there a special reason why it's not supported?

@alexlamsl
Copy link
Collaborator

It's not implemented - Pull Request is welcomed.

@kzc
Copy link
Contributor

kzc commented Mar 28, 2017

It's supported:

  --in-source-map               Input source map, useful if you're compressing
                                JS that was generated from some other original
                                code. Specify "inline" if the source map is included
                                inline with the sources.

see cf0951f

#1490

@kzc
Copy link
Contributor

kzc commented Mar 28, 2017

example use: #520 (comment)

@alexlamsl
Copy link
Collaborator

@kzc ah, I forgot you can do this with stdin as well.

I guess this is good to close then.

@serapath
Copy link
Author

yes it works. thx :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants