hezi-bigpanda
hezi-bigpanda
@Andarist , please paste following code: var m = []; var t = m['f' + 'y']; console.log(t); Here: https://xem.github.io/terser-online/ Look at the output and you will see my point
I suggest to replace it to something like: const useInsertionEffect = React['useInsertion'.concat('Effect')] This way, terser can't statically minify it. Of course, it is not semantically equal since string.prototype.concat might be...
Ok then I use react-select which uses emotion as a dependency (not peerDependency) in a component library project that I created. I bundle it using rollup with terser plugin. I...
Good point. I can't assume that the application client bundles itself, so there is a performance consideration. in addition, for the usage of plugins like svg loader I believe for...
@Andarist What did you decide ? well, as mentioned I mitigated the issue so as far as I concerned you can close the issue , however, I am pretty sure...