ecronix/react-most-wanted

Consider generating source maps

wedi opened this issue · 0 comments

wedi commented

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