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