mirror of https://github.com/webpack/webpack.git
				
				
				
			
		
			
	
	
		
			23 lines
		
	
	
		
			441 B
		
	
	
	
		
			JavaScript
		
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			441 B
		
	
	
	
		
			JavaScript
		
	
	
	
|  | const LogTestPlugin = require("../../helpers/LogTestPlugin"); | ||
|  | 
 | ||
|  | /** @type {import("../../../").Configuration} */ | ||
|  | module.exports = { | ||
|  | 	mode: "production", | ||
|  | 	entry: "./index", | ||
|  | 	performance: false, | ||
|  | 	module: { | ||
|  | 		rules: [ | ||
|  | 			{ | ||
|  | 				test: /index\.js$/, | ||
|  | 				use: require.resolve("../logging/node_modules/custom-loader") | ||
|  | 			} | ||
|  | 		] | ||
|  | 	}, | ||
|  | 	plugins: [new LogTestPlugin(true)], | ||
|  | 	stats: { | ||
|  | 		colors: true, | ||
|  | 		logging: false, | ||
|  | 		loggingDebug: /custom-loader/ | ||
|  | 	} | ||
|  | }; |