Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Source Maps don't work for js or jsx files in live dev mode. #440

Open
shobhitg opened this issue Nov 3, 2018 · 0 comments · May be fixed by #442
Open

Source Maps don't work for js or jsx files in live dev mode. #440

shobhitg opened this issue Nov 3, 2018 · 0 comments · May be fixed by #442

Comments

@shobhitg
Copy link

shobhitg commented Nov 3, 2018

Hi,

Source maps do not work if I add a .js or .jsx file and then try to do live dev using yarn start.

This works in yarn build however.

I have a sample repo here to reproduce the issue:
https://github.com/shobhitg/source-map-issue/

Its basically a fresh project. Only thing I did is rename App.tsx to App.jsx.

With App.tsx, it works:
screen shot 2018-11-02 at 5 05 50 pm

With App.jsx, it doesn't work:
screen shot 2018-11-03 at 12 43 30 pm

Is this a known issue?
If yes, is there some workaround by which I can get source maps to work with .jsx files?

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

Successfully merging a pull request may close this issue.

1 participant