You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							20 lines
						
					
					
						
							710 B
						
					
					
				
			
		
		
	
	
							20 lines
						
					
					
						
							710 B
						
					
					
				/* | 
						|
	MIT License http://www.opensource.org/licenses/mit-license.php | 
						|
	Author Tobias Koppers @sokra | 
						|
*/ | 
						|
var path = require("path"); | 
						|
module.exports = function() {}; | 
						|
module.exports.pitch = function(remainingRequest) { | 
						|
	this.cacheable && this.cacheable(); | 
						|
	return "require(" + JSON.stringify("!!" + path.join(__dirname, "addScript.js")) + ")"+ | 
						|
			"(require(" + | 
						|
			JSON.stringify("!!" + require.resolve("raw-loader") + "!" + remainingRequest) + ")" + | 
						|
				(this.debug ? | 
						|
					"+" + | 
						|
						JSON.stringify( | 
						|
							"\n\n// SCRIPT-LOADER FOOTER\n//# sourceURL=script:///" + | 
						|
								encodeURI(remainingRequest.replace(/^!/, "")).replace(/%5C|%2F/g, "/").replace(/\?/, "%3F").replace(/^\//, "") | 
						|
						) : | 
						|
					"") + | 
						|
			")"; | 
						|
};
 | 
						|
 |