mirror of https://github.com/webpack/webpack.git
				
				
				
			
		
			
				
	
	
		
			12 lines
		
	
	
		
			298 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			298 B
		
	
	
	
		
			JavaScript
		
	
	
	
| // AMD Module Format
 | |
| define(
 | |
| 	"app/amd", // anonym is also supported
 | |
| 	["./commonjs", "./harmony"],
 | |
| 	function(commonjs1, harmony1) {
 | |
| 		// but you can use CommonJs-style requires:
 | |
| 		var commonjs2 = require("./commonjs");
 | |
| 		var harmony2 = require("./harmony");
 | |
| 		// Do something...
 | |
| 		return 456;
 | |
| 	}
 | |
| ); |