You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.
for some reason when I launch the example app and then I try to debug my library the source-map and then all the library src files are not loaded in the browser and not even if I try to debug using VisualSudio Code.
Because the React Hooks issue I'm using react-app-rewired customize-cra.
Hi Guys,
for some reason when I launch the example app and then I try to debug my library the source-map and then all the library src files are not loaded in the browser and not even if I try to debug using VisualSudio Code.
Because the React Hooks issue I'm using react-app-rewired customize-cra.
This is my VSC launch.json file:
this is the example app package.json file, and in particular the scrips section:
this is the example app config-overrides.js file used for react-app-rewired where you can see I add an module alias for React:
in the library dist folder I see the .js.map files, so I would say they are generate correctly.
When I try to debug in VSC and I try to set a breakpoint I get this:
i fact if I look at the Loaded Scripts section in VSC I see only one file:
when I try to open the tsx files from browser dev tools I don't see them:
I also found this way to add the source map of a library for create-react-app but I can't get it working.
facebook/create-react-app#8071 (comment)
Any help is more then welcome!
Thanks
The text was updated successfully, but these errors were encountered: