UNPKG

webpack

Version:

Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jade, coffee, css, less, ... and your custom stuff.

53 lines (44 loc) 1.11 kB
webpackJsonp([0],[ /* 0 */, /* 1 */ /***/ function(module, exports, __webpack_require__) { var map = { "./a": 2, "./a.js": 2, "./b": 3, "./b.js": 3, "./c": 4, "./c.js": 4 }; function webpackContext(req) { return __webpack_require__(webpackContextResolve(req)); }; function webpackContextResolve(req) { return map[req] || (function() { throw new Error("Cannot find module '" + req + "'.") }()); }; webpackContext.keys = function webpackContextKeys() { return Object.keys(map); }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; webpackContext.id = 1; /***/ }, /* 2 */ /***/ function(module, exports, __webpack_require__) { module.exports = function() { return "This text was generated by template A"; } /***/ }, /* 3 */ /***/ function(module, exports, __webpack_require__) { module.exports = function() { return "This text was generated by template B"; } /***/ }, /* 4 */ /***/ function(module, exports, __webpack_require__) { module.exports = function() { return "This text was generated by template C"; } /***/ } ]);