We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d542a commit 4de1e44Copy full SHA for 4de1e44
scripts/rollup/build.js
@@ -406,6 +406,10 @@ function getPlugins(
406
// UMD builds are rarely used and not worth having sourcemaps.
407
const needsSourcemaps =
408
needsMinifiedByClosure &&
409
+ // This will only exclude `unstable_server-external-runtime.js` artifact
410
+ // To start generating sourcemaps for it, we should stop manually copying it to `facebook-www`
411
+ // and force `react-dom` to include .map files in npm-package at the root level
412
+ bundleType !== BROWSER_SCRIPT &&
413
!isUMDBundle &&
414
!sourcemapPackageExcludes.includes(entry) &&
415
!shouldStayReadable;
0 commit comments