dillon1000/react

Commit

remove terser from react-compiler-runtime build (#31326)

## Summary

This fixes a minor nit I have about the `react-compiler-runtime` package
in that the published code is minified. I assume most consumers will
minify their own bundles so there's no real advantage to minifying it as
part of the build.

For my purposes it makes it more difficult to read the code, use
`patch-package` (if needed), or diff two versions without referencing
the source code on github or mapping it back to original source using
the source maps.

## How did you test this change?

I ran the build locally and looked at the result but did not run the
code. It's a lot more readable except for the commonjs
compatibility-related stuff that Rollup inserts.
Browse files
Changed paths1 file
First-parent comparison
M compiler/packages/react-compiler-runtime/rollup.config.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…