Skip to content

Instantly share code, notes, and snippets.

@3stacks
Created February 21, 2018 22:37
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 3stacks/945fa8dc873272d34b0251535b399479 to your computer and use it in GitHub Desktop.
Save 3stacks/945fa8dc873272d34b0251535b399479 to your computer and use it in GitHub Desktop.
javascript bundling in 2018 webpack bundle example part 1
module.exports =
/******/ (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] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
.........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment