Found this while bundling Ripple. This is required for parity with Rollup/Terser/SWC.
function A() {}
A.from = () => {}
const B = {}
B.from = () => {}
should be able to minify into nothing.
New assumptions would be required to accomplish this, per @sapphi-red:
These require Object.prototype.from / Function.prototype.from to not be a setter with a sideeffect
Found this while bundling Ripple. This is required for parity with Rollup/Terser/SWC.
should be able to minify into nothing.
New assumptions would be required to accomplish this, per @sapphi-red: