2024-07-23 00:12:08 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								import { fileURLToPath } from "url";
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-18 21:37:45 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								import path from "path";
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-18 21:35:17 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								import assetPath from "./src/services/asset_path.js";
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-12 14:22:51 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-23 00:12:08 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								const rootDir = path.dirname(fileURLToPath(import.meta.url));
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								export default {
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-12 14:22:51 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    mode: 'production',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    entry: {
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-13 11:40:52 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        setup: './src/public/app/setup.js',
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-14 21:57:42 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        mobile: './src/public/app/mobile.js',
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-15 17:39:26 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        desktop: './src/public/app/desktop.js',
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-12 14:22:51 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    },
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    output: {
							 | 
						
					
						
							
								
									
										
										
										
											2022-12-25 10:48:51 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        publicPath: `${assetPath}/app-dist/`,
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-23 00:12:08 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        path: path.resolve(rootDir, 'src/public/app-dist'),
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-15 17:39:26 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        filename: '[name].js',
							 | 
						
					
						
							
								
									
										
										
										
											2020-04-12 14:22:51 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    },
							 | 
						
					
						
							
								
									
										
										
										
											2021-12-23 23:01:25 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    devtool: 'source-map',
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-15 17:39:26 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    target: 'electron-renderer',
							 | 
						
					
						
							
								
									
										
										
										
											2021-12-23 23:01:25 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 |