bundle.js (2263B)
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 /* 0 */ 43 /** */ function(module, exports, __webpack_require__) { 44 45 const times2 = __webpack_require__(1); 46 const { output } = __webpack_require__(2); 47 const opts = __webpack_require__(3); 48 49 output(times2(1)); 50 output(times2(2)); 51 52 if (opts.extra) { 53 output(times2(3)); 54 } 55 56 window.keepMeAlive = function() { 57 // This function exists to make sure this script is never garbage 58 // collected. It is also callable from tests. 59 return times2(4); 60 }; 61 62 /** * 63 / }, 64 /* 1 */ 65 /** */ function(module, exports) { 66 67 module.exports = function(x) { 68 return x * 2; 69 }; 70 71 /** * 72 / }, 73 /* 2 */ 74 /** */ function(module, exports) { 75 76 function output(str) { 77 console.log(str); 78 } 79 80 module.exports = { output }; 81 82 /** * 83 / }, 84 /* 3 */ 85 /** */ function(module, exports) { 86 87 module.exports = { 88 extra: true 89 }; 90 91 /** * 92 / } 93 /** ****/ ]); 94 // # sourceMappingURL=bundle.js.map