mirror of https://github.com/webpack/webpack.git
				
				
				
			
		
			
				
	
	
		
			26 lines
		
	
	
		
			454 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			454 B
		
	
	
	
		
			JavaScript
		
	
	
	
| "use strict";
 | |
| 
 | |
| const os = require("os");
 | |
| const path = require("path");
 | |
| const webpack = require("../../../../");
 | |
| 
 | |
| /** @type {import("../../../../").Configuration} */
 | |
| module.exports = {
 | |
| 	node: {
 | |
| 		__dirname: false,
 | |
| 		__filename: false
 | |
| 	},
 | |
| 	entry: {
 | |
| 		bundle0: ["./index.js"]
 | |
| 	},
 | |
| 	output: {
 | |
| 		filename: "[name].js"
 | |
| 	},
 | |
| 	plugins: [
 | |
| 		new webpack.debug.ProfilingPlugin({
 | |
| 			outputPath: path.join(os.tmpdir(), "events.json")
 | |
| 		})
 | |
| 	],
 | |
| 	devtool: "source-map"
 | |
| };
 |