You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is an uglifyify problem or an uglify problem, but we're seeing cases where non-dead code is dropped. Consider the following:
var result
var useX = //some code here;
if(useX) {
result = require('./someotherModuleX');
}
else {
result = require('./someotherModuleY');
}
module.exports = result;
When we run this through uglifyify, both someOtherModuleX and someOtherModuleY are removed.
Not sure if this is an uglifyify problem or an uglify problem, but we're seeing cases where non-dead code is dropped. Consider the following:
When we run this through uglifyify, both someOtherModuleX and someOtherModuleY are removed.
However, this works:
A sample app is here:
https://github.com/raybooysen/uglifyifyExample
The text was updated successfully, but these errors were encountered: