Squelch uglify warnings for node_modules

Running webpack -p results in hundreds of dead code warnings for React code I’m pulling in from node_modules. Because I am using the define plugin, these are to be expected, but they make it difficult to find warnings being thrown regarding my own code.

Does anyone know of a way to silence warnings for code originating from node_modules? If not, is there any plan to implement such a feature?

Author: Fantashit

1 thought on “Squelch uglify warnings for node_modules

Comments are closed.