quip/quip-apps

Terser mangling breaks apps in prod

Opened this issue · 0 comments

In prod, Terser mangles symbols like React in a way that causes undefined symbol errors in prod builds.

A naive denylist of the effected symbols did not produce the desired results, so we may need to look at the quip-side bundling to see if we need to follow an injection pattern or perhaps provide some global hints to terser.