mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	
		
			
	
	
		
			25 lines
		
	
	
		
			397 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			25 lines
		
	
	
		
			397 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								// webpack config for webinstaller
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								'use strict';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								const path = require('path');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = {
							 | 
						||
| 
								 | 
							
									mode: 'production',
							 | 
						||
| 
								 | 
							
									entry: {
							 | 
						||
| 
								 | 
							
										installer: './public/src/installer/install.js',
							 | 
						||
| 
								 | 
							
									},
							 | 
						||
| 
								 | 
							
									output: {
							 | 
						||
| 
								 | 
							
										filename: '[name].min.js',
							 | 
						||
| 
								 | 
							
										path: path.resolve(__dirname, 'build/public'),
							 | 
						||
| 
								 | 
							
										publicPath: `/assets/`,
							 | 
						||
| 
								 | 
							
									},
							 | 
						||
| 
								 | 
							
									resolve: {
							 | 
						||
| 
								 | 
							
										symlinks: false,
							 | 
						||
| 
								 | 
							
										modules: [
							 | 
						||
| 
								 | 
							
											'public/src',
							 | 
						||
| 
								 | 
							
											'node_modules',
							 | 
						||
| 
								 | 
							
										],
							 | 
						||
| 
								 | 
							
									},
							 | 
						||
| 
								 | 
							
								};
							 |