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

Source map support for jsx binary #766

Closed
sophiebits opened this issue Dec 31, 2013 · 16 comments
Closed

Source map support for jsx binary #766

sophiebits opened this issue Dec 31, 2013 · 16 comments

Comments

@sophiebits
Copy link
Contributor

Would be nice.

@vjeux
Copy link
Contributor

vjeux commented Jan 6, 2014

Related: #764 Source maps on the in-browser transform

@vjeux
Copy link
Contributor

vjeux commented Jan 6, 2014

#334

@benjamn
Copy link
Contributor

benjamn commented Jan 6, 2014

👍

dispalt added a commit to dispalt/sbt-reactjs that referenced this issue May 28, 2014
Get rid of sourceMapping til it returns facebook/react#766
@avanderhoorn
Copy link
Contributor

Just wondering what is happening with sourcemap support?

@sophiebits
Copy link
Contributor Author

#833 is still open, hasn't been merged yet.

@avanderhoorn
Copy link
Contributor

@spicyj Thanks for pointing that out! (missed it some how). Just wondering if this is shooting for the 0.11 release?

@sophiebits
Copy link
Contributor Author

Probably not, sorry. Looks like there are still several unaddressed comments.

@avanderhoorn
Copy link
Contributor

@spicyj Thanks for letting me know. Just so I get a better understanding of things, how is what is being done there different to this which looks like it will go out in 0.11 (besides support for inline vs external files, etc)?

@sophiebits
Copy link
Contributor Author

That one has an option to produce source map files which is a bit more complicated because it needs to integrate properly with the file watching system which currently doesn't expect multiple outputs for a single input. fc5bb9c only added support for returning the source map when react-tools is used as a node library; it didn't change the command line tool.

@avanderhoorn
Copy link
Contributor

@spicyj Ok so if I'm using gulp-react which uses react-tools when 0.11 comes, I will be able to inline source maps? Putting that aside once #833 is baked more, will the option to have external source maps be carried through, or would you see that as a different unit of work? Again just trying to put the pieces together in my head.

@sophiebits
Copy link
Contributor Author

I'm not familiar with gulp-react in particular but it should be possible for it to support source maps in this new version.

@avanderhoorn
Copy link
Contributor

Just this question:

once #833 is baked more, will the option to have external source maps be carried through, or would you see that as a different unit of work?

@sophiebits
Copy link
Contributor Author

That would probably make sense as a separate PR because we probably don't want the react-tools transform API to do the actual file writing – instead it'll need to return the source map somehow, perhaps in an object containing the transformed source and the source map since it wouldn't be able to return a single string any more.

@RReverser
Copy link
Contributor

#1825 was landed, can we close this or is there anything that needs to be done?

@zpao
Copy link
Member

zpao commented Aug 6, 2014

I think we were hoping for external .map file support too.

@zpao
Copy link
Member

zpao commented Jul 28, 2015

react-tools is deprecated so closing out

@zpao zpao closed this as completed Jul 28, 2015
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

6 participants