mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	fix(build): add back copying canvas dist files
This commit is contained in:
		
							parent
							
								
									f2382e2ef5
								
							
						
					
					
						commit
						eaacdb57d1
					
				| @ -73,6 +73,7 @@ const copy = async () => { | ||||
|     } | ||||
| 
 | ||||
|     const nodeModulesFolder = [ | ||||
|         "node_modules/@excalidraw/excalidraw/dist/", | ||||
|         "node_modules/katex/dist/", | ||||
|         "node_modules/dayjs/", | ||||
|         "node_modules/boxicons/css/", | ||||
|  | ||||
| @ -49,6 +49,7 @@ cp "$script_dir/../build/electron-main.js" "$DIR" | ||||
| if [[ -d "$DIR"/node_modules ]]; then | ||||
|     # cleanup of useless files in dependencies | ||||
|     for d in 'image-q/demo' \ | ||||
|         '@excalidraw/excalidraw/dist/excalidraw-assets-dev' '@excalidraw/excalidraw/dist/excalidraw.development.js' '@excalidraw/excalidraw/dist/excalidraw-with-preact.development.js' \ | ||||
|         'mermaid/dist/mermaid.js' \ | ||||
|         'boxicons/svg' 'boxicons/node_modules/react'/* \ | ||||
|         '@jimp/plugin-print/fonts' 'jimp/browser' 'jimp/fonts'; do | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran