problems when using with `ant-design` / `rc-table`

Related issue: react-component/table#458

Live demo:

Problem with rc-table occurs when using a minified parcel build. Everything is fine using parcel build --no-minify. I thought the problem was in terser, but disabling most of terser doesn’t seem to help (I put mangle: false in .terserrc, but it seems this setting is not respected, or there is another mangler running). Is there another minification step used? Some pointers might help me in debugging.

Creating a bundle using parcel build --no-minify and then manually running terser --compress --mangle on it produces a bundle that works fine.

1 possible answer(s) on “problems when using with `ant-design` / `rc-table`