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

Consider generating source maps #320

Open
wedi opened this issue Sep 7, 2021 · 0 comments
Open

Consider generating source maps #320

wedi opened this issue Sep 7, 2021 · 0 comments

Comments

@wedi
Copy link

wedi commented Sep 7, 2021

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

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

2 participants