mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-29 03:23:25 +08:00 
			
		
		
		
	chore(assets): remove manual provision of knockout
this is only used in setup.ts and there it is already packed by webpack – so no need to manually provide it as static asset anymore
This commit is contained in:
		
							parent
							
								
									4adaa4bd58
								
							
						
					
					
						commit
						ed33b72f57
					
				| @ -89,7 +89,6 @@ const copy = async () => { | |||||||
|         "node_modules/jsplumb/dist/", |         "node_modules/jsplumb/dist/", | ||||||
|         "node_modules/vanilla-js-wheel-zoom/dist/", |         "node_modules/vanilla-js-wheel-zoom/dist/", | ||||||
|         "node_modules/mark.js/dist/", |         "node_modules/mark.js/dist/", | ||||||
|         "node_modules/knockout/build/output/", |  | ||||||
|         "node_modules/normalize.css/", |         "node_modules/normalize.css/", | ||||||
|         "node_modules/jquery.fancytree/dist/", |         "node_modules/jquery.fancytree/dist/", | ||||||
|         "node_modules/bootstrap/dist/", |         "node_modules/bootstrap/dist/", | ||||||
|  | |||||||
| @ -88,8 +88,6 @@ async function register(app: express.Application) { | |||||||
|     // Deprecated, https://www.npmjs.com/package/autocomplete.js?activeTab=readme
 |     // Deprecated, https://www.npmjs.com/package/autocomplete.js?activeTab=readme
 | ||||||
|     app.use(`/${assetPath}/node_modules/autocomplete.js/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/autocomplete.js/dist/"))); |     app.use(`/${assetPath}/node_modules/autocomplete.js/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/autocomplete.js/dist/"))); | ||||||
| 
 | 
 | ||||||
|     app.use(`/${assetPath}/node_modules/knockout/build/output/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/knockout/build/output/"))); |  | ||||||
| 
 |  | ||||||
|     app.use(`/${assetPath}/node_modules/normalize.css/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/normalize.css/"))); |     app.use(`/${assetPath}/node_modules/normalize.css/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/normalize.css/"))); | ||||||
| 
 | 
 | ||||||
|     app.use(`/${assetPath}/node_modules/jquery.fancytree/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/jquery.fancytree/dist/"))); |     app.use(`/${assetPath}/node_modules/jquery.fancytree/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/jquery.fancytree/dist/"))); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Panagiotis Papadopoulos
						Panagiotis Papadopoulos