react-prod-sourcemaps icon indicating copy to clipboard operation
react-prod-sourcemaps copied to clipboard

Add addtional react production artifact sourcemaps

Open jasikpark opened this issue 2 years ago • 4 comments

I'm guessing react-dom was the MVP option for testing this out? It would be great to setup sourcemaps for

  • react.production.min.js
  • react-jsx-runtime.production.min.js

in addition to react-dom

jasikpark avatar Sep 01 '23 18:09 jasikpark

Yeah, easy to throw those in too, and I tried to set up the logic and assets folder to support that :) but react-dom was the critical part, since it has all the reconciler logic.

markerikson avatar Sep 01 '23 19:09 markerikson

@markerikson would be nice if we could generate sourcemaps for react-dom/profiling as well. I would be happy to spend some time in order to get that working too

JonasBa avatar Sep 25 '23 04:09 JonasBa

Added react and react-dom.profiling for 17.0.2, 18.1, and 18.2!

https://github.com/markerikson/react-prod-sourcemaps/releases/tag/v0.2.0

markerikson avatar Sep 27 '23 15:09 markerikson

A few weeks ago I did try to build React 16.14.0 as well, but my first attempt generated JS build artifacts that were significantly different.

Looks like this thread explains why:

  • https://github.com/facebook/react/issues/27515

16.14.0 is really 16.13.1 , with the JSX runtime artifacts from 17 copied over.

markerikson avatar Oct 19 '23 11:10 markerikson