mirror of https://github.com/webpack/webpack.git
				
				
				
			Merge pull request #226 from vhpoet/patch-1
Require externals plugin for node-webkit target.
This commit is contained in:
		
						commit
						dc21f1b0f5
					
				| 
						 | 
				
			
			@ -101,6 +101,7 @@ WebpackOptionsApply.prototype.process = function(options, compiler) {
 | 
			
		|||
		case "node-webkit":
 | 
			
		||||
			var JsonpTemplatePlugin = require("./JsonpTemplatePlugin");
 | 
			
		||||
			var NodeTargetPlugin = require("./node/NodeTargetPlugin");
 | 
			
		||||
			var ExternalsPlugin = require("./ExternalsPlugin");
 | 
			
		||||
			compiler.apply(
 | 
			
		||||
				new JsonpTemplatePlugin(options.output),
 | 
			
		||||
				new FunctionModulePlugin(options.output),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue