| 
									
										
										
										
											2012-04-06 18:40:43 +08:00
										 |  |  | # examples
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-07 03:14:36 +08:00
										 |  |  | ## commonjs
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | example demonstrating a very simple programm | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-04-06 18:40:43 +08:00
										 |  |  | ## code-splitting
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | example demonstrating a very simple case of Code Splitting. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-07-19 17:48:07 +08:00
										 |  |  | ## require.resolve
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | example demonstrating to cache clearing of modules with `require.resolve` and `require.cache`. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-04-06 18:40:43 +08:00
										 |  |  | ## require.context
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-01 12:14:17 +08:00
										 |  |  | example demonstrating to automatic creation of contexts when using variables in `require`. | 
					
						
							| 
									
										
										
										
											2012-04-06 18:40:43 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## code-splitted-require.context
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-01 12:14:17 +08:00
										 |  |  | example demonstrating contexts in a code-split environment. | 
					
						
							| 
									
										
										
										
											2012-04-06 18:40:43 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## loader
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | example demonstrating to usage of loaders. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## coffee-script
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | example demonstrating code written in coffee-script. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-07 03:14:36 +08:00
										 |  |  | ## code-splitting-bundle-loader
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | example demonstrating Code Splitting through the builder loader | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-17 18:46:55 +08:00
										 |  |  | ## names-chucks
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | example demonstrating merging of chucks with named chucks | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-04-06 18:40:43 +08:00
										 |  |  | # Requests
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | If you think a example is missing, please report it as issue. :) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Build
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | There is a `build.js` file in each example directory. | 
					
						
							|  |  |  | Run it with node in the example directory to compile it and the README.md file. |