react-with-moxy icon indicating copy to clipboard operation
react-with-moxy copied to clipboard

Add prepack

Open satazor opened this issue 7 years ago • 0 comments

const isDev = process.env.NODE_ENV === 'development';

if (isDev) {
    doSomething('foo');
}

uglify will not handle this well, see: https://github.com/mishoo/UglifyJS2/issues/3110

But with prepack we can get rid of such dead code, plus more.

satazor avatar Jul 26 '18 16:07 satazor