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
Hi, I have a typescript base monorepo project with CRA front end. I’d love to use typescript generated source maps from my libraries for debugging purposes. Unfortunately all I’m getting are compiled js files.
The text was updated successfully, but these errors were encountered:
If you do not want to eject you need to modify the webpack config in the react-scripts directory (DANGER you probably will lose CRA support after this). I wrote a simple fix.js file that modifies given entries.
I enabled source maps a this line flipping false to true
ALMOST THERE
You also need to add source maps loader. Install it yarn add source-map-loader and add a following code before following line
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
Is this a bug report?
No
Hi, I have a typescript base monorepo project with CRA front end. I’d love to use typescript generated source maps from my libraries for debugging purposes. Unfortunately all I’m getting are compiled js files.
The text was updated successfully, but these errors were encountered: