Open satazor opened 6 years ago
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.
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.