Skip to content

Instantly share code, notes, and snippets.

@tobyl
Created July 21, 2016 15:26
Show Gist options
  • Save tobyl/a7498361aadb65f3fdf052429b8e06bc to your computer and use it in GitHub Desktop.
Save tobyl/a7498361aadb65f3fdf052429b8e06bc to your computer and use it in GitHub Desktop.
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ exports: {},
/******/ id: moduleId,
/******/ loaded: false
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.loaded = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {
__webpack_require__(1);
module.exports = __webpack_require__(3);
/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
var greet = __webpack_require__(2);
console.log(myVar);
greet('Webpack');
/***/ },
/* 2 */
/***/ function(module, exports) {
'use strict';
function greet(who) {
console.log('Hello ' + who + '!');
};
module.exports = greet;
/***/ },
/* 3 */
/***/ function(module, exports) {
"use strict";
module.exports = {
myVar: "My Variable!"
};
/***/ }
/******/ ]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment