mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-27 01:51:34 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			418 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			418 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| const path = require('path');
 | |
| const assetPath = require('./src/services/asset_path');
 | |
| 
 | |
| module.exports = {
 | |
|     mode: 'production',
 | |
|     entry: {
 | |
|         mobile: './src/public/app/mobile.js',
 | |
|     },
 | |
|     output: {
 | |
|         publicPath: `/${assetPath}/app-dist/`,
 | |
|         path: path.resolve(__dirname, 'src/public/app-dist'),
 | |
|         filename: 'mobile.js'
 | |
|     },
 | |
|     devtool: 'source-map',
 | |
|     target: 'electron-renderer'
 | |
| };
 | 
