mirror of https://github.com/webpack/webpack.git
				
				
				
			
		
			
				
	
	
		
			19 lines
		
	
	
		
			389 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			389 B
		
	
	
	
		
			JavaScript
		
	
	
	
| const path = require("path");
 | |
| 
 | |
| /** @type {(env: Env, options: TestOptions) => import("../../../../types").Configuration} */
 | |
| module.exports = (env, { testPath }) => ({
 | |
| 	target: "node14",
 | |
| 	output: {
 | |
| 		chunkLoading: "import"
 | |
| 	},
 | |
| 	resolve: {
 | |
| 		alias: {
 | |
| 			library: path.resolve(testPath, "../0-create-library/lib.js")
 | |
| 		}
 | |
| 	},
 | |
| 	experiments: {
 | |
| 		topLevelAwait: true,
 | |
| 		outputModule: true
 | |
| 	}
 | |
| });
 |