Fix bug where passing an object with transform options causes an exception.
This commit is contained in:
		@@ -5,7 +5,7 @@ import plugins = require("./gulpbrowser.plugins");
 | 
			
		||||
let browserify =  function(transforms) {
 | 
			
		||||
 | 
			
		||||
    transforms = transforms || [];
 | 
			
		||||
    if (typeof transforms === 'function') {
 | 
			
		||||
    if (!Array.isArray(transforms)) {
 | 
			
		||||
        transforms = [transforms];
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user