tpai
1/3/2018 - 9:27 AM

webpackUMD

webpackUMD

(function webpackUniversalModuleDefinition(root, factory) {
  if (typeof exports === 'object' && typeof module === 'object') // CommonJS(2)
    module.exports = factory(require(__require_module__));
  else if (typeof define === 'function' && define.amd) // AMD
    define([__require_module__], factory);
  else if (typeof exports === 'object') // CommonJS(1)
    exports[__module_name__] = factory(require(__require_module__));
  else // Global Variable
    root[__module_name__] = factory(root[__require_module__]);
})(typeof self !== 'undefined' ? self : this, function() {
  return (function(modules){
    /* webpack helpers */
  })([ /* vendors and modules */ ]);
})