Skip to content

Instantly share code, notes, and snippets.

@akshay9677
Last active April 10, 2022 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akshay9677/de14f580127be319ae340c3452a33b78 to your computer and use it in GitHub Desktop.
Save akshay9677/de14f580127be319ae340c3452a33b78 to your computer and use it in GitHub Desktop.
Webpack module map
/******/ (() => { // webpackBootstrap
/******/ "use strict";
// Module map
/******/ var __webpack_modules__ = ({
/***/ "./src/add.js":
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const add = (a, b) => {
return a + b;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (add);
/***/ }),
/***/ "./src/diff.js":
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const diff = (a, b) => {
return a - b;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (diff);
/***/ })
/******/ });
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
/******/ (() => {
/******/ // define getter functions for harmony exports
/******/ __webpack_require__.d = (exports, definition) => {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ }
/******/ }
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ (() => {
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
/* harmony import */ var _add__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./src/add.js");
/* harmony import */ var _diff__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./src/diff.js");
console.log((0,_add__WEBPACK_IMPORTED_MODULE_0__["default"])(1, 2));
console.log((0,_diff__WEBPACK_IMPORTED_MODULE_1__["default"])(2, 1));
})();
/******/ })()
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment