This plugin allows webpack to correctly parse and handle the dependencies of a piece of code in the following format, which would usually fail due to require being redefined in the factory function parameters.
{ if typeof define === 'function' && defineamd /* AMD. Register as an anonymous module. */ ; else if typeof exports === 'object' /* CommonJS */ ; else /* Browser globals - dangerous */ ; }this { var _ = ;}