mirror of https://github.com/webpack/webpack.git
				
				
				
			Update JsonpExportMainTemplatePlugin.js
Fix: `TypeError: Object #<JsonpExportMainTemplatePlugin> has no method 'applyPluginsWaterfall'` This is the same bug as was fixed in https://github.com/webpack/webpack/commit/614891e
This commit is contained in:
		
							parent
							
								
									f0997230f3
								
							
						
					
					
						commit
						1ea87ef5bb
					
				|  | @ -10,7 +10,7 @@ function JsonpExportMainTemplatePlugin(name) { | |||
| module.exports = JsonpExportMainTemplatePlugin; | ||||
| JsonpExportMainTemplatePlugin.prototype.apply = function(mainTemplate) { | ||||
| 	mainTemplate.plugin("render", function(source, chunk, hash) { | ||||
| 		var name = this.applyPluginsWaterfall("asset-path", this.name || "", { | ||||
| 		var name = mainTemplate.applyPluginsWaterfall("asset-path", this.name || "", { | ||||
| 			hash: hash, | ||||
| 			chunk: chunk | ||||
| 		}); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue