mirror of https://github.com/webpack/webpack.git
				
				
				
			
		
			
				
	
	
		
			21 lines
		
	
	
		
			429 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			429 B
		
	
	
	
		
			JavaScript
		
	
	
	
| "use strict";
 | |
| 
 | |
| const path = require("path");
 | |
| 
 | |
| /** @type {import("../../../../").Configuration} */
 | |
| module.exports = {
 | |
| 	mode: "development",
 | |
| 	entry: {
 | |
| 		"entry-a": [path.join(__dirname, "./src/entry-a")],
 | |
| 		"entry-b": [path.join(__dirname, "./src/entry-b")]
 | |
| 	},
 | |
| 
 | |
| 	output: {
 | |
| 		filename: "[name]-bundle.js",
 | |
| 		library: "library-[name]",
 | |
| 		libraryTarget: "commonjs",
 | |
| 		devtoolNamespace: "library-[name]"
 | |
| 	},
 | |
| 	devtool: "source-map"
 | |
| };
 |