Skip to content

Consider generating source maps #320

@wedi

Description

@wedi

Hi.
When you use react-most-wanted in phpstorm and click on "go to definition" you are sent to the dist version of the component which is ok to check for properties but not too helpful to get an overview. At the moment the only way to look things up in the source is clickig through GitHub which is not always intuitive.

CRA, for example, ships with source map files that allows the dev to see the actual component code. They even create them by default in production builds for apps and at first glance I see no draw back for rmw.

I wanted to try my luck to find the responsible piece of configuration but I had no luck (#319).

A cutout from the dist version of the App component.
grafik

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions