Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was 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

Description

@shobhitg

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions