• @allObjects I actually do such a thing here , but I do it only in the rollup flow and not for the minification only. Also I don't like it too much as it is too big of a hack IMO (also troublesome to remove from the resulting bundle). Perhaps there is another way to make sure this function is never inlined or renamed by changing the terser configuration .

    I have yet to try the babel-minify as that one sounds like the one with the most prospective future.

About

Avatar for opichals @opichals started