|
| 1 | +;(function (e, a) { |
| 2 | + for (var i in a) e[i] = a[i] |
| 3 | +})( |
| 4 | + exports, |
| 5 | + /******/ (function (modules) { |
| 6 | + // webpackBootstrap |
| 7 | + /******/ // The module cache |
| 8 | + /******/ var installedModules = {} |
| 9 | + /******/ |
| 10 | + /******/ // The require function |
| 11 | + /******/ function __webpack_require__(moduleId) { |
| 12 | + /******/ |
| 13 | + /******/ // Check if module is in cache |
| 14 | + /******/ if (installedModules[moduleId]) { |
| 15 | + /******/ return installedModules[moduleId].exports |
| 16 | + /******/ |
| 17 | + } |
| 18 | + /******/ // Create a new module (and put it into the cache) |
| 19 | + /******/ var module = (installedModules[moduleId] = { |
| 20 | + /******/ i: moduleId, |
| 21 | + /******/ l: false, |
| 22 | + /******/ exports: {}, |
| 23 | + /******/ |
| 24 | + }) |
| 25 | + /******/ |
| 26 | + /******/ // Execute the module function |
| 27 | + /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) |
| 28 | + /******/ |
| 29 | + /******/ // Flag the module as loaded |
| 30 | + /******/ module.l = true |
| 31 | + /******/ |
| 32 | + /******/ // Return the exports of the module |
| 33 | + /******/ return module.exports |
| 34 | + /******/ |
| 35 | + } |
| 36 | + /******/ |
| 37 | + /******/ |
| 38 | + /******/ // expose the modules object (__webpack_modules__) |
| 39 | + /******/ __webpack_require__.m = modules |
| 40 | + /******/ |
| 41 | + /******/ // expose the module cache |
| 42 | + /******/ __webpack_require__.c = installedModules |
| 43 | + /******/ |
| 44 | + /******/ // define getter function for harmony exports |
| 45 | + /******/ __webpack_require__.d = function (exports, name, getter) { |
| 46 | + /******/ if (!__webpack_require__.o(exports, name)) { |
| 47 | + /******/ Object.defineProperty(exports, name, {enumerable: true, get: getter}) |
| 48 | + /******/ |
| 49 | + } |
| 50 | + /******/ |
| 51 | + } |
| 52 | + /******/ |
| 53 | + /******/ // define __esModule on exports |
| 54 | + /******/ __webpack_require__.r = function (exports) { |
| 55 | + /******/ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| 56 | + /******/ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) |
| 57 | + /******/ |
| 58 | + } |
| 59 | + /******/ Object.defineProperty(exports, '__esModule', {value: true}) |
| 60 | + /******/ |
| 61 | + } |
| 62 | + /******/ |
| 63 | + /******/ // create a fake namespace object |
| 64 | + /******/ // mode & 1: value is a module id, require it |
| 65 | + /******/ // mode & 2: merge all properties of value into the ns |
| 66 | + /******/ // mode & 4: return value when already ns object |
| 67 | + /******/ // mode & 8|1: behave like require |
| 68 | + /******/ __webpack_require__.t = function (value, mode) { |
| 69 | + /******/ if (mode & 1) value = __webpack_require__(value) |
| 70 | + /******/ if (mode & 8) return value |
| 71 | + /******/ if (mode & 4 && typeof value === 'object' && value && value.__esModule) return value |
| 72 | + /******/ var ns = Object.create(null) |
| 73 | + /******/ __webpack_require__.r(ns) |
| 74 | + /******/ Object.defineProperty(ns, 'default', {enumerable: true, value: value}) |
| 75 | + /******/ if (mode & 2 && typeof value != 'string') |
| 76 | + for (var key in value) |
| 77 | + __webpack_require__.d( |
| 78 | + ns, |
| 79 | + key, |
| 80 | + function (key) { |
| 81 | + return value[key] |
| 82 | + }.bind(null, key) |
| 83 | + ) |
| 84 | + /******/ return ns |
| 85 | + /******/ |
| 86 | + } |
| 87 | + /******/ |
| 88 | + /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 89 | + /******/ __webpack_require__.n = function (module) { |
| 90 | + /******/ var getter = |
| 91 | + module && module.__esModule |
| 92 | + ? /******/ function getDefault() { |
| 93 | + return module['default'] |
| 94 | + } |
| 95 | + : /******/ function getModuleExports() { |
| 96 | + return module |
| 97 | + } |
| 98 | + /******/ __webpack_require__.d(getter, 'a', getter) |
| 99 | + /******/ return getter |
| 100 | + /******/ |
| 101 | + } |
| 102 | + /******/ |
| 103 | + /******/ // Object.prototype.hasOwnProperty.call |
| 104 | + /******/ __webpack_require__.o = function (object, property) { |
| 105 | + return Object.prototype.hasOwnProperty.call(object, property) |
| 106 | + } |
| 107 | + /******/ |
| 108 | + /******/ // __webpack_public_path__ |
| 109 | + /******/ __webpack_require__.p = '' |
| 110 | + /******/ |
| 111 | + /******/ |
| 112 | + /******/ // Load entry module and return exports |
| 113 | + /******/ return __webpack_require__((__webpack_require__.s = './index.js')) |
| 114 | + /******/ |
| 115 | + })( |
| 116 | + /************************************************************************/ |
| 117 | + /******/ { |
| 118 | + /***/ './index.js': |
| 119 | + /*!******************!*\ |
| 120 | + !*** ./index.js ***! |
| 121 | + \******************/ |
| 122 | + /*! exports provided: ping */ |
| 123 | + /***/ function (module, __webpack_exports__, __webpack_require__) { |
| 124 | + 'use strict' |
| 125 | + eval( |
| 126 | + '__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ping", function() { return ping; });\nconst wait = sec => new Promise(resolve => setTimeout(resolve, sec * 1000));\nconst ping = async event => {\n await wait(45);\n return {\n statusCode: 200,\n body: JSON.stringify({\n message: \'Go Serverless v1.0! Your function executed successfully!\',\n input: event\n }, null, 2)\n };\n};\n\n//# sourceURL=webpack:///./index.js?' |
| 127 | + ) |
| 128 | + |
| 129 | + /***/ |
| 130 | + }, |
| 131 | + |
| 132 | + /******/ |
| 133 | + } |
| 134 | + ) |
| 135 | +) |
0 commit comments