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.

28 lines 2.67 kB
!function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}(function(t){for(var e in t)switch(typeof t[e]){case"number":t[e]=t[t[e]];break;case"object":t[e]=function(e){var r=e.slice(1),n=t[e[0]];return function(t,e,o){n.apply(null,[t,e,o].concat(r))}}(t[e])}return t}([/*!****************************************!*\ !*** ./compile/deduplication/index.js ***! \****************************************/ function(t,e,r){it("should load a duplicate module with different dependencies correctly",function(){var t=r(/*! ./dedupe1 */5),e=r(/*! ./dedupe2 */7);t.should.be.eql("dedupe1"),e.should.be.eql("dedupe2")})},/*!*************************************************!*\ !*** ./compile/deduplication/dedupe1/dupdep.js ***! \*************************************************/ function(t){t.exports="edupe1"},/*!*************************************************!*\ !*** ./compile/deduplication/dedupe2/dupdep.js ***! \*************************************************/ function(t){t.exports="edupe2"},/*!************************************!*\ !*** ./compile/deduplication/d.js ***! \************************************/ function(t){t.exports="d"},/*!****************************************************!*\ !*** ./compile/deduplication/dedupe1 ^\.\/dupd.*$ ***! \****************************************************/ function(t,e,r){function n(t){return r(o(t))}function o(t){return i[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var i={"./dupdep":1,"./dupdep.js":1};n.keys=function(){return Object.keys(i)},n.resolve=o,t.exports=n,n.id=4},/*!************************************************!*\ !*** ./compile/deduplication/dedupe1/index.js ***! \************************************************/ [8,1,4],/*!****************************************************!*\ !*** ./compile/deduplication/dedupe2 ^\.\/dupd.*$ ***! \****************************************************/ function(t,e,r){function n(t){return r(o(t))}function o(t){return i[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var i={"./dupdep":2,"./dupdep.js":2};n.keys=function(){return Object.keys(i)},n.resolve=o,t.exports=n,n.id=6},/*!************************************************!*\ !*** ./compile/deduplication/dedupe2/index.js ***! \************************************************/ [8,2,6],/*!***********************************!*\ !*** template of 5 referencing 3 ***! \***********************************/ function(t,e,r,n,o){t.exports=r(/*! ../d */3)+r(n);var i="ep";r(o)("./dupd"+i)}]));