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.
52 lines (43 loc) • 1.02 kB
JavaScript
webpackJsonp([1],[
/* 0 */,
/* 1 */
/***/ function(module, exports, require) {
var map = {
"./a": 2,
"./a.js": 2,
"./b": 3,
"./b.js": 3,
"./c": 4,
"./c.js": 4
};
function webpackContext(req) {
return 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;
/***/ },
/* 2 */
/***/ function(module, exports, require) {
module.exports = function() {
return "This text was generated by template A";
}
/***/ },
/* 3 */
/***/ function(module, exports, require) {
module.exports = function() {
return "This text was generated by template B";
}
/***/ },
/* 4 */
/***/ function(module, exports, require) {
module.exports = function() {
return "This text was generated by template C";
}
/***/ }
])