| 
									
										
										
										
											2025-04-22 17:13:17 +03:00
										 |  |  | const { NxAppWebpackPlugin } = require('@nx/webpack/app-plugin'); | 
					
						
							|  |  |  | const { join } = require('path'); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module.exports = { | 
					
						
							|  |  |  |   output: { | 
					
						
							|  |  |  |     path: join(__dirname, 'dist'), | 
					
						
							| 
									
										
										
										
											2025-04-22 19:18:02 +03:00
										 |  |  |     libraryTarget: "module" | 
					
						
							| 
									
										
										
										
											2025-04-22 17:13:17 +03:00
										 |  |  |   }, | 
					
						
							|  |  |  |   plugins: [ | 
					
						
							|  |  |  |     new NxAppWebpackPlugin({ | 
					
						
							|  |  |  |       target: 'node', | 
					
						
							|  |  |  |       compiler: 'tsc', | 
					
						
							|  |  |  |       main: './src/main.ts', | 
					
						
							|  |  |  |       tsConfig: './tsconfig.app.json', | 
					
						
							|  |  |  |       assets: ["./src/assets"], | 
					
						
							|  |  |  |       optimization: false, | 
					
						
							|  |  |  |       outputHashing: 'none', | 
					
						
							|  |  |  |       generatePackageJson: true, | 
					
						
							|  |  |  |     }) | 
					
						
							|  |  |  |   ], | 
					
						
							| 
									
										
										
										
											2025-04-22 19:18:02 +03:00
										 |  |  |   experiments: { | 
					
						
							|  |  |  |     outputModule: true | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2025-04-22 17:13:17 +03:00
										 |  |  | }; |