bundle.js (2252B)
1 /******/ (function(modules) { // webpackBootstrap 2 /******/ // The module cache 3 /******/ var installedModules = {}; 4 /******/ 5 /******/ // The require function 6 /******/ function __webpack_require__(moduleId) { 7 /******/ 8 /******/ // Check if module is in cache 9 /******/ if(installedModules[moduleId]) 10 /******/ return installedModules[moduleId].exports; 11 /******/ 12 /******/ // Create a new module (and put it into the cache) 13 /******/ var module = installedModules[moduleId] = { 14 /******/ exports: {}, 15 /******/ id: moduleId, 16 /******/ loaded: false 17 /******/ }; 18 /******/ 19 /******/ // Execute the module function 20 /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 21 /******/ 22 /******/ // Flag the module as loaded 23 /******/ module.loaded = true; 24 /******/ 25 /******/ // Return the exports of the module 26 /******/ return module.exports; 27 /******/ } 28 /******/ 29 /******/ 30 /******/ // expose the modules object (__webpack_modules__) 31 /******/ __webpack_require__.m = modules; 32 /******/ 33 /******/ // expose the module cache 34 /******/ __webpack_require__.c = installedModules; 35 /******/ 36 /******/ // __webpack_public_path__ 37 /******/ __webpack_require__.p = ""; 38 /******/ 39 /******/ // Load entry module and return exports 40 /******/ return __webpack_require__(0); 41 /******/ }) 42 /************************************************************************/ 43 /******/ ([ 44 /* 0 */ 45 /***/ function(module, exports, __webpack_require__) { 46 47 const times2 = __webpack_require__(1); 48 const { output } = __webpack_require__(2); 49 const opts = __webpack_require__(3); 50 51 output(times2(1)); 52 output(times2(2)); 53 54 if(opts.extra) { 55 output(times2(3)); 56 } 57 58 window.keepMeAlive = function() { 59 // This function exists to make sure this script is never garbage 60 // collected. It is also callable from tests. 61 return times2(4); 62 } 63 64 65 /***/ }, 66 /* 1 */ 67 /***/ function(module, exports) { 68 69 module.exports = function(x) { 70 return x * 2; 71 } 72 73 74 /***/ }, 75 /* 2 */ 76 /***/ function(module, exports) { 77 78 function output(str) { 79 console.log(str); 80 } 81 82 module.exports = { output }; 83 84 85 /***/ }, 86 /* 3 */ 87 /***/ function(module, exports) { 88 89 module.exports = { 90 extra: true 91 }; 92 93 94 /***/ } 95 /******/ ]); 96 //# sourceMappingURL=bundle.js.map