mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:16:05 +08:00 
			
		
		
		
	build(server): use cleanupNodeModules script
This commit is contained in:
		
							parent
							
								
									3e3344b329
								
							
						
					
					
						commit
						f79b925e49
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -25,6 +25,7 @@ NODE_VERSION=22.14.0 | ||||||
| 
 | 
 | ||||||
| BUILD_DIR="./build" | BUILD_DIR="./build" | ||||||
| DIST_DIR="./dist" | DIST_DIR="./dist" | ||||||
|  | CLEANUP_SCRIPT="./bin/cleanupNodeModules.ts" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # Trigger the build | # Trigger the build | ||||||
|  | @ -32,7 +33,7 @@ echo "Build start" | ||||||
| npm run build:prepare-dist | npm run build:prepare-dist | ||||||
| echo "Build finished" | echo "Build finished" | ||||||
| 
 | 
 | ||||||
| ./bin/copy-trilium.sh | node --experimental-strip-types $CLEANUP_SCRIPT $BUILD_DIR | ||||||
| 
 | 
 | ||||||
| NODE_FILENAME=node-v${NODE_VERSION}-linux-${ARCH} | NODE_FILENAME=node-v${NODE_VERSION}-linux-${ARCH} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue