mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			446 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			446 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // webpack config for webinstaller
 | |
| 
 | |
| 'use strict';
 | |
| 
 | |
| const path = require('path');
 | |
| 
 | |
| /** @type { import('webpack').Configuration } */
 | |
| 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',
 | |
| 		],
 | |
| 	},
 | |
| };
 |