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.

10 lines 1.36 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)}([/*!****************************************!*\ !*** ./loaders/coffee-loader/index.js ***! \****************************************/ function(t,e,r){it("should handle the coffee loader correctly",function(){r(/*! coffee!../_resources/script.coffee */1).should.be.eql("coffee test"),r(/*! ../_resources/script.coffee */1).should.be.eql("coffee test")}),it("should handle literate coffee script correctly",function(){r(/*! coffee?literate!./script.coffee.md */2).should.be.eql("literate coffee test")})},/*!********************************************************************!*\ !*** (webpack)/~/coffee-loader!./loaders/_resources/script.coffee ***! \********************************************************************/ function(t){var e,r;e=!0,r={text:"coffee test"},null!=e&&(t.exports=r.text)},/*!***********************************************************************************!*\ !*** (webpack)/~/coffee-loader?literate!./loaders/coffee-loader/script.coffee.md ***! \***********************************************************************************/ function(t){var e,r;e=!0,r={text:"literate coffee test"},null!=e&&(t.exports=r.text)}]);