react-diff-view icon indicating copy to clipboard operation
react-diff-view copied to clipboard

fix: publish original source code to fix sourcemap

Open giautm opened this issue 1 year ago • 3 comments

fix: https://github.com/otakustay/react-diff-view/issues/221

giautm avatar Dec 31 '24 10:12 giautm

We have two options: disable sourcemap, or publish original source code.

To disable sourcemap: remove all sourcemap there: https://github.com/search?q=repo%3Aotakustay%2Freact-diff-view%20sourcemap&type=code

giautm avatar Dec 31 '24 10:12 giautm

Cc @otakustay

giautm avatar Mar 01 '25 22:03 giautm

Sorry I'm late, is it enough to just include src in the bundle? Should I also delete types folder from the output?

otakustay avatar Mar 03 '25 13:03 otakustay

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 01:04 stale[bot]

I can confirm this fixes #221 for me. @otakustay could this be merged?

kreed avatar Jul 23 '25 22:07 kreed

This is released as [email protected]

otakustay avatar Jul 24 '25 02:07 otakustay