| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | # example.js
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` javascript | 
					
						
							|  |  |  | var Worker = require("worker!./worker"); | 
					
						
							|  |  |  | var worker = new Worker; | 
					
						
							|  |  |  | worker.postMessage("b"); | 
					
						
							|  |  |  | worker.onmessage = function(event) { | 
					
						
							|  |  |  | 	var templateB = event.data; // "This text was generated by template B" | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # worker.js
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` javascript | 
					
						
							|  |  |  | onmessage = function(event) { | 
					
						
							|  |  |  | 	var template = event.data; | 
					
						
							|  |  |  | 	require(["../require.context/templates/" + event.data], function(tmpl) { | 
					
						
							|  |  |  | 		postMessage(tmpl()); | 
					
						
							|  |  |  | 	}); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # js/output.js
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` javascript | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ (function(modules) { // webpackBootstrap | 
					
						
							|  |  |  | /******/ 	// The module cache | 
					
						
							|  |  |  | /******/ 	var installedModules = {}; | 
					
						
							|  |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	// The require function | 
					
						
							|  |  |  | /******/ 	function 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(null, module, module.exports, require); | 
					
						
							|  |  |  | /******/ 		 | 
					
						
							|  |  |  | /******/ 		// Flag the module as loaded | 
					
						
							|  |  |  | /******/ 		module.loaded = true; | 
					
						
							|  |  |  | /******/ 		 | 
					
						
							|  |  |  | /******/ 		// Return the exports of the module | 
					
						
							|  |  |  | /******/ 		return module.exports; | 
					
						
							|  |  |  | /******/ 	} | 
					
						
							|  |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	// The bundle contains no chunks. A empty chunk loading function. | 
					
						
							|  |  |  | /******/ 	require.e = function requireEnsure(_, callback) { | 
					
						
							|  |  |  | /******/ 		callback.call(null, require); | 
					
						
							|  |  |  | /******/ 	}; | 
					
						
							|  |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	// expose the modules object (__webpack_modules__) | 
					
						
							|  |  |  | /******/ 	require.modules = modules; | 
					
						
							|  |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	// expose the module cache | 
					
						
							|  |  |  | /******/ 	require.cache = installedModules; | 
					
						
							|  |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	// Load entry module and return exports | 
					
						
							|  |  |  | /******/ 	return require(0); | 
					
						
							|  |  |  | /******/ }) | 
					
						
							| 
									
										
										
										
											2013-03-27 01:22:30 +08:00
										 |  |  | /************************************************************************/ | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ ({ | 
					
						
							|  |  |  | /******/ // __webpack_public_path__ | 
					
						
							|  |  |  | /******/ c: "", | 
					
						
							| 
									
										
										
										
											2013-03-28 17:20:14 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-01-31 01:49:25 +08:00
										 |  |  | /***/ 0: | 
					
						
							|  |  |  | /*!********************!*\ | 
					
						
							|  |  |  |   !*** ./example.js ***! | 
					
						
							|  |  |  |   \********************/ | 
					
						
							|  |  |  | /***/ function(module, exports, require) { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-03-28 17:20:14 +08:00
										 |  |  | 	var Worker = require(/*! worker!./worker */ 1); | 
					
						
							|  |  |  | 	var worker = new Worker; | 
					
						
							|  |  |  | 	worker.postMessage("b"); | 
					
						
							|  |  |  | 	worker.onmessage = function(event) { | 
					
						
							|  |  |  | 		var templateB = event.data; // "This text was generated by template B" | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-01-31 01:49:25 +08:00
										 |  |  | /***/ }, | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-01-31 01:49:25 +08:00
										 |  |  | /***/ 1: | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  | /*!*************************************************************************************************************!*\ | 
					
						
							| 
									
										
										
										
											2013-02-13 18:58:13 +08:00
										 |  |  |   !*** (webpack)/~/worker-loader!./worker.js ***! | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  |   \*************************************************************************************************************/ | 
					
						
							| 
									
										
										
										
											2013-01-31 01:49:25 +08:00
										 |  |  | /***/ function(module, exports, require) { | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-03-28 17:20:14 +08:00
										 |  |  | 	module.exports = function() { | 
					
						
							|  |  |  | 		return new Worker(require.modules.c + "hash.worker.js"); | 
					
						
							|  |  |  | 	}; | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-01-31 01:49:25 +08:00
										 |  |  | /***/ } | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ }) | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # js/[hash].worker.js
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` javascript | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ (function(modules) { // webpackBootstrap | 
					
						
							|  |  |  | /******/ 	// The module cache | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 	var installedModules = {}; | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	// object to store loaded chunks | 
					
						
							|  |  |  | /******/ 	// "1" means "already loaded" | 
					
						
							|  |  |  | /******/ 	var installedChunks = {0:1}; | 
					
						
							|  |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	// The require function | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 	function require(moduleId) { | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 		// Check if module is in cache | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 		if(installedModules[moduleId]) | 
					
						
							|  |  |  | /******/ 			return installedModules[moduleId].exports; | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 		 | 
					
						
							|  |  |  | /******/ 		// Create a new module (and put it into the cache) | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 		var module = installedModules[moduleId] = { | 
					
						
							|  |  |  | /******/ 			exports: {}, | 
					
						
							|  |  |  | /******/ 			id: moduleId, | 
					
						
							|  |  |  | /******/ 			loaded: false | 
					
						
							|  |  |  | /******/ 		}; | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 		 | 
					
						
							|  |  |  | /******/ 		// Execute the module function | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 		modules[moduleId].call(null, module, module.exports, require); | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 		 | 
					
						
							|  |  |  | /******/ 		// Flag the module as loaded | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 		module.loaded = true; | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 		 | 
					
						
							|  |  |  | /******/ 		// Return the exports of the module | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 		return module.exports; | 
					
						
							|  |  |  | /******/ 	} | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	// This file contains only the entry chunk. | 
					
						
							|  |  |  | /******/ 	// The chunk loading function for additional chunks | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 	require.e = function requireEnsure(chunkId, callback) { | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 		// "1" is the signal for "already loaded" | 
					
						
							|  |  |  | /******/ 		if(!installedChunks[chunkId]) { | 
					
						
							|  |  |  | /******/ 			importScripts("" + chunkId + ".hash.worker.js"); | 
					
						
							|  |  |  | /******/ 		} | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 		callback.call(null, require); | 
					
						
							|  |  |  | /******/ 	}; | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	// expose the modules object (__webpack_modules__) | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 	require.modules = modules; | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	// expose the module cache | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 	require.cache = installedModules; | 
					
						
							|  |  |  | /******/ 	this["webpackChunk"] = function webpackChunkCallback(chunkIds, moreModules) { | 
					
						
							|  |  |  | /******/ 		for(var moduleId in moreModules) | 
					
						
							|  |  |  | /******/ 			modules[moduleId] = moreModules[moduleId]; | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 		while(chunkIds.length) | 
					
						
							|  |  |  | /******/ 			installedChunks[chunkIds.pop()] = 1; | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 	}; | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ 	 | 
					
						
							|  |  |  | /******/ 	// Load entry module and return exports | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ 	return require(0); | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | /******/ }) | 
					
						
							|  |  |  | /************************************************************************/ | 
					
						
							|  |  |  | /******/ ({ | 
					
						
							|  |  |  | /******/ // __webpack_public_path__ | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ c: "", | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-01-31 10:25:20 +08:00
										 |  |  | /***/ 0: | 
					
						
							|  |  |  | /*!*******************!*\ | 
					
						
							|  |  |  |   !*** ./worker.js ***! | 
					
						
							|  |  |  |   \*******************/ | 
					
						
							|  |  |  | /***/ function(module, exports, require) { | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-03-28 17:20:14 +08:00
										 |  |  | 	onmessage = function(event) { | 
					
						
							|  |  |  | 		var template = event.data; | 
					
						
							|  |  |  | 		require.e/* require */(1, function(require) { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [require(/*! ../require.context/templates */ 1)("./" + event.data)]; (function(tmpl) { | 
					
						
							|  |  |  | 			postMessage(tmpl()); | 
					
						
							|  |  |  | 		}.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}); | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 	 | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-03-27 01:22:30 +08:00
										 |  |  | /***/ } | 
					
						
							| 
									
										
										
										
											2013-03-27 16:24:25 +08:00
										 |  |  | /******/ }) | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-02-24 17:13:24 +08:00
										 |  |  | # js/1.[hash].worker.hs
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` javascript | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | webpackChunk([1], | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2013-02-24 17:13:24 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | /***/ 1: | 
					
						
							|  |  |  | /*!*********************************************!*\ | 
					
						
							|  |  |  |   !*** ../require.context/templates ^\.\/.*$ ***! | 
					
						
							|  |  |  |   \*********************************************/ | 
					
						
							|  |  |  | /***/ function(module, exports, require) { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-03-28 17:20:14 +08:00
										 |  |  | 	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; | 
					
						
							|  |  |  | 	 | 
					
						
							| 
									
										
										
										
											2013-02-24 17:13:24 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | /***/ }, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /***/ 2: | 
					
						
							|  |  |  | /*!*****************************************!*\ | 
					
						
							|  |  |  |   !*** ../require.context/templates/a.js ***! | 
					
						
							|  |  |  |   \*****************************************/ | 
					
						
							|  |  |  | /***/ function(module, exports, require) { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-03-28 17:20:14 +08:00
										 |  |  | 	module.exports = function() { | 
					
						
							|  |  |  | 		return "This text was generated by template A"; | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2013-02-24 17:13:24 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | /***/ }, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /***/ 3: | 
					
						
							|  |  |  | /*!*****************************************!*\ | 
					
						
							|  |  |  |   !*** ../require.context/templates/b.js ***! | 
					
						
							|  |  |  |   \*****************************************/ | 
					
						
							|  |  |  | /***/ function(module, exports, require) { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-03-28 17:20:14 +08:00
										 |  |  | 	module.exports = function() { | 
					
						
							|  |  |  | 		return "This text was generated by template B"; | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2013-02-24 17:13:24 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | /***/ }, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /***/ 4: | 
					
						
							|  |  |  | /*!*****************************************!*\ | 
					
						
							|  |  |  |   !*** ../require.context/templates/c.js ***! | 
					
						
							|  |  |  |   \*****************************************/ | 
					
						
							|  |  |  | /***/ function(module, exports, require) { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-03-28 17:20:14 +08:00
										 |  |  | 	module.exports = function() { | 
					
						
							|  |  |  | 		return "This text was generated by template C"; | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2013-02-24 17:13:24 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | /***/ } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-03-28 17:31:52 +08:00
										 |  |  | } | 
					
						
							|  |  |  | ) | 
					
						
							| 
									
										
										
										
											2013-02-24 17:13:24 +08:00
										 |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | # Info
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Uncompressed
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  | Hash: 475c548ff49814ae38449b4381b4c42e | 
					
						
							|  |  |  | Version: webpack 0.10.0-beta6 | 
					
						
							|  |  |  | Time: 77ms | 
					
						
							|  |  |  |            Asset  Size  Chunks             Chunk Names | 
					
						
							|  |  |  |   hash.worker.js  2613          [emitted]              | 
					
						
							|  |  |  | 1.hash.worker.js  1590          [emitted]              | 
					
						
							|  |  |  |        output.js  2400       0  [emitted]  main        | 
					
						
							|  |  |  | chunk    {0} output.js (main) 297 [rendered] | 
					
						
							|  |  |  |     [0] ./example.js 201 [built] {0} | 
					
						
							| 
									
										
										
										
											2013-02-13 18:58:13 +08:00
										 |  |  |     [1] (webpack)/~/worker-loader!./worker.js 96 [not cacheable] [built] {0} | 
					
						
							| 
									
										
										
										
											2013-01-31 01:49:25 +08:00
										 |  |  |         cjs require worker!./worker [0] ./example.js 1:13-39 | 
					
						
							|  |  |  | Child worker: | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  |     Hash: feb0fce6c542e6569e65d26ac41239c7 | 
					
						
							|  |  |  |     Version: webpack 0.10.0-beta6 | 
					
						
							|  |  |  |                Asset  Size  Chunks             Chunk Names | 
					
						
							|  |  |  |       hash.worker.js  2613       0  [emitted]  main        | 
					
						
							|  |  |  |     1.hash.worker.js  1590       1  [emitted]              | 
					
						
							|  |  |  |     chunk    {0} hash.worker.js (main) 162 [rendered] | 
					
						
							|  |  |  |         [0] ./worker.js 162 [built] {0} | 
					
						
							|  |  |  |     chunk    {1} 1.hash.worker.js 457 {0} [rendered] | 
					
						
							| 
									
										
										
										
											2013-02-21 03:50:53 +08:00
										 |  |  |         [1] ../require.context/templates ^\.\/.*$ 217 [built] {1} | 
					
						
							| 
									
										
										
										
											2013-02-13 18:58:13 +08:00
										 |  |  |             amd require context ../require.context/templates [0] ./worker.js 3:1-5:3 | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  |         [2] ../require.context/templates/a.js 80 [built] {1} | 
					
						
							| 
									
										
										
										
											2013-02-21 03:50:53 +08:00
										 |  |  |             context element ./a [1] ../require.context/templates ^\.\/.*$ | 
					
						
							|  |  |  |             context element ./a.js [1] ../require.context/templates ^\.\/.*$ | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  |         [3] ../require.context/templates/b.js 80 [built] {1} | 
					
						
							| 
									
										
										
										
											2013-02-21 03:50:53 +08:00
										 |  |  |             context element ./b [1] ../require.context/templates ^\.\/.*$ | 
					
						
							|  |  |  |             context element ./b.js [1] ../require.context/templates ^\.\/.*$ | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  |         [4] ../require.context/templates/c.js 80 [built] {1} | 
					
						
							| 
									
										
										
										
											2013-02-21 03:50:53 +08:00
										 |  |  |             context element ./c [1] ../require.context/templates ^\.\/.*$ | 
					
						
							|  |  |  |             context element ./c.js [1] ../require.context/templates ^\.\/.*$ | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Minimized (uglify-js, no zip)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``` | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  | Hash: 475c548ff49814ae38449b4381b4c42e | 
					
						
							|  |  |  | Version: webpack 0.10.0-beta6 | 
					
						
							|  |  |  | Time: 164ms | 
					
						
							|  |  |  |            Asset  Size  Chunks             Chunk Names | 
					
						
							|  |  |  |   hash.worker.js   519          [emitted]              | 
					
						
							|  |  |  | 1.hash.worker.js   531          [emitted]              | 
					
						
							|  |  |  |        output.js   418       0  [emitted]  main        | 
					
						
							|  |  |  | chunk    {0} output.js (main) 297 [rendered] | 
					
						
							|  |  |  |     [0] ./example.js 201 [built] {0} | 
					
						
							| 
									
										
										
										
											2013-02-13 18:58:13 +08:00
										 |  |  |     [1] (webpack)/~/worker-loader!./worker.js 96 [not cacheable] [built] {0} | 
					
						
							| 
									
										
										
										
											2013-01-31 01:49:25 +08:00
										 |  |  |         cjs require worker!./worker [0] ./example.js 1:13-39 | 
					
						
							|  |  |  | Child worker: | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  |     Hash: feb0fce6c542e6569e65d26ac41239c7 | 
					
						
							|  |  |  |     Version: webpack 0.10.0-beta6 | 
					
						
							|  |  |  |                Asset  Size  Chunks             Chunk Names | 
					
						
							|  |  |  |       hash.worker.js   519       0  [emitted]  main        | 
					
						
							|  |  |  |     1.hash.worker.js   531       1  [emitted]              | 
					
						
							|  |  |  |     chunk    {0} hash.worker.js (main) 162 [rendered] | 
					
						
							|  |  |  |         [0] ./worker.js 162 [built] {0} | 
					
						
							|  |  |  |     chunk    {1} 1.hash.worker.js 457 {0} [rendered] | 
					
						
							| 
									
										
										
										
											2013-02-21 03:50:53 +08:00
										 |  |  |         [1] ../require.context/templates ^\.\/.*$ 217 [built] {1} | 
					
						
							| 
									
										
										
										
											2013-02-13 18:58:13 +08:00
										 |  |  |             amd require context ../require.context/templates [0] ./worker.js 3:1-5:3 | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  |         [2] ../require.context/templates/a.js 80 [built] {1} | 
					
						
							| 
									
										
										
										
											2013-02-21 03:50:53 +08:00
										 |  |  |             context element ./a [1] ../require.context/templates ^\.\/.*$ | 
					
						
							|  |  |  |             context element ./a.js [1] ../require.context/templates ^\.\/.*$ | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  |         [3] ../require.context/templates/b.js 80 [built] {1} | 
					
						
							| 
									
										
										
										
											2013-02-21 03:50:53 +08:00
										 |  |  |             context element ./b [1] ../require.context/templates ^\.\/.*$ | 
					
						
							|  |  |  |             context element ./b.js [1] ../require.context/templates ^\.\/.*$ | 
					
						
							| 
									
										
										
										
											2013-05-08 21:36:54 +08:00
										 |  |  |         [4] ../require.context/templates/c.js 80 [built] {1} | 
					
						
							| 
									
										
										
										
											2013-02-21 03:50:53 +08:00
										 |  |  |             context element ./c [1] ../require.context/templates ^\.\/.*$ | 
					
						
							|  |  |  |             context element ./c.js [1] ../require.context/templates ^\.\/.*$ | 
					
						
							| 
									
										
										
										
											2012-08-23 08:05:07 +08:00
										 |  |  | ``` |