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.

128 lines (123 loc) 3.96 kB
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ exports: {}, /******/ id: moduleId, /******/ loaded: false /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.loaded = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(0); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /*!**************************************!*\ !*** ./loaders/json-loader/index.js ***! \**************************************/ /***/ function(module, exports, __webpack_require__) { it("should handle the json loader correctly", function() { __webpack_require__(/*! json!../../../../package.json */ 1).name.should.be.eql("webpack"); __webpack_require__(/*! ../../../../package.json */ 1).name.should.be.eql("webpack"); }); /***/ }, /* 1 */ /*!******************************************************!*\ !*** (webpack)/~/json-loader!(webpack)/package.json ***! \******************************************************/ /***/ function(module, exports, __webpack_require__) { module.exports = { "name": "webpack", "version": "1.4.3", "author": "Tobias Koppers @sokra", "description": "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.", "dependencies": { "esprima": "~1.2.0", "mkdirp": "~0.5.0", "optimist": "~0.6.0", "uglify-js": "~2.4.13", "async": "~0.9.0", "enhanced-resolve": "~0.7.0", "memory-fs": "~0.1.0", "clone": "~0.1.15", "webpack-core": "~0.4.8", "node-libs-browser": "~0.4.0", "tapable": "~0.1.8" }, "licenses": [ { "type": "MIT", "url": "http://www.opensource.org/licenses/mit-license.php" } ], "devDependencies": { "mocha": "~1.21.1", "should": "~4.0.4", "vm-browserify": "~0.0.0", "express": "~3.4.8", "webpack-dev-middleware": "^1.0.0", "worker-loader": "~0.5.0", "raw-loader": "~0.5.0", "json-loader": "~0.5.1", "jade-loader": "~0.6.1", "coffee-loader": "~0.7.1", "css-loader": "~0.9.0", "less-loader": "~0.7.0", "style-loader": "~0.8.0", "script-loader": "~0.6.0", "bundle-loader": "~0.5.0", "file-loader": "~0.7.2", "url-loader": "~0.5.0", "val-loader": "~0.5.0", "i18n-webpack-plugin": "~0.2.0", "extract-text-webpack-plugin": "~0.3.0", "component-webpack-plugin": "~0.2.0" }, "engines": { "node": ">=0.6" }, "repository": { "type": "git", "url": "http://github.com/webpack/webpack.git" }, "homepage": "http://github.com/webpack/webpack", "main": "lib/webpack.js", "web": "lib/webpack.web.js", "bin": "./bin/webpack.js", "scripts": { "test": "mocha --reporter spec", "cover": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec" } } /***/ } /******/ ])