mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-28 17:56:02 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			463 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			463 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/main.ts',
 | |
|       tsConfig: './tsconfig.app.json',
 | |
|       assets: ["./src/assets"],
 | |
|       optimization: false,
 | |
|       outputHashing: 'none',
 | |
|       generatePackageJson: true,
 | |
|     })
 | |
|   ],
 | |
| };
 |