mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 11:56:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			461 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			461 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,
 | 
						|
    })
 | 
						|
  ]
 | 
						|
};
 |