mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			445 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			445 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| const { NxAppWebpackPlugin } = require('@nx/webpack/app-plugin');
 | |
| const { join } = require('path');
 | |
| 
 | |
| module.exports = {
 | |
|   output: {
 | |
|     path: join(__dirname, 'dist'),
 | |
|   },
 | |
|   plugins: [
 | |
|     new NxAppWebpackPlugin({
 | |
|       target: 'node',
 | |
|       compiler: 'tsc',
 | |
|       main: './src/electron-docs-main.ts',
 | |
|       tsConfig: './tsconfig.app.json',
 | |
|       optimization: false,
 | |
|       outputHashing: 'none',
 | |
|       generatePackageJson: true,
 | |
|     })
 | |
|   ],
 | |
| };
 |