alex-cory / react-useportal

🌀 React hook for Portals
MIT License
891 stars 34 forks source link

Fix sourcemap error on create-react-app 5 #77

Closed georgesofianosgr closed 2 years ago

georgesofianosgr commented 2 years ago

Create react app 5 uses "source-map-loader" in webpack which cannot find the source maps and produces a warning.

I added inlineSources in tsconfig.json to fix this problem as proposed in this package here https://github.com/typestack/class-transformer/pull/473

To reproduce:

alex-cory commented 2 years ago

Will get this merged and published asap

mariocsantos commented 2 years ago

Waiting for this to be merged! Thank you @georgesofianosgr

alex-cory commented 2 years ago

Merged and published. v1.0.17