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.
7 lines • 1.47 kB
JavaScript
!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)}([/*!****************************************!*\
!*** ./parsing/local-modules/index.js ***!
\****************************************/
function(t,e,r){var n,o,i,o,s,o,a,u;it("should define and require a local module",function(){t.exports="not set",!(n=function(){return 1234}.call(e,r,e,t)),t.exports.should.be.eql("not set"),o=[n],a=function(t){return t.should.be.eql(1234),2345}.apply(e,o),!(void 0!==a&&(t.exports=a)),t.exports.should.be.eql(2345),n.should.be.eql(1234)}),it("should not create a chunk for a AMD require to a local module",function(){!(u=function(){return 1235}.call(e,r,e,t));var n=!1;!function(){var t=[u];(function(t){t.should.be.eql(1235),n=!0}).apply(null,t)}(),n.should.be.eql(!0)}),it("should define and require a local module with deps",function(){t.exports="not set",o=[r(/*! ./dep */1)],!(s=function(t){return t.should.be.eql("dep"),1234}.apply(e,o)),t.exports.should.be.eql("not set"),o=[s,r(/*! ./dep */1)],!(i=function(t,e){return e.should.be.eql("dep"),t.should.be.eql(1234),2345}.apply(e,o)),t.exports.should.be.eql("not set"),s.should.be.eql(1234),i.should.be.eql(2345)})},/*!**************************************!*\
!*** ./parsing/local-modules/dep.js ***!
\**************************************/
function(t){t.exports="dep"}]);