-
Would you consider providing source maps for SWR's NPM package? (See #1079.) I see where they were removed, but there have been a few times where I'm using a debugger to step through my code to try to understand when and how data is being revalidated, and the minified no-source-map SWR source code is mostly a black box. (If I'm understanding correctly, for this to be of benefit, the source maps would either have to include Alternatively, the SWR NPM package could include unminified code - since its users are almost always going to be using a minifier of their own, I'm not sure how much it gains by being minified itself. (I could be wrong.) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks for the feedback! The latest beta release now includes non-minified source code: https://unpkg.com/[email protected]/dist/index.js, hope it helps! |
Beta Was this translation helpful? Give feedback.
Thanks for the feedback! The latest beta release now includes non-minified source code: https://unpkg.com/[email protected]/dist/index.js, hope it helps!