mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix(nx/desktop): ejs missing
This commit is contained in:
		| @@ -36,6 +36,14 @@ module.exports = { | |||||||
|             { |             { | ||||||
|                 from: "../client/dist", |                 from: "../client/dist", | ||||||
|                 to: join(outputDir, "public") |                 to: join(outputDir, "public") | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |                 from: "../server/dist/node_modules", | ||||||
|  |                 to: join(outputDir, "node_modules") | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |                 from: "../server/dist/assets", | ||||||
|  |                 to: join(outputDir, "assets") | ||||||
|             } |             } | ||||||
|         ] |         ] | ||||||
|     }) |     }) | ||||||
|   | |||||||
| @@ -29,7 +29,8 @@ function buildFilesToCopy() { | |||||||
|     "codemirror/addon", |     "codemirror/addon", | ||||||
|     "codemirror/mode", |     "codemirror/mode", | ||||||
|     "codemirror/keymap", |     "codemirror/keymap", | ||||||
|     "@highlightjs/cdn-assets" |     "@highlightjs/cdn-assets", | ||||||
|  |     "ejs" | ||||||
|   ]; |   ]; | ||||||
|  |  | ||||||
|   for (const nodePath of nodePaths) { |   for (const nodePath of nodePaths) { | ||||||
| @@ -53,6 +54,9 @@ module.exports = { | |||||||
|       main: './src/main.ts', |       main: './src/main.ts', | ||||||
|       tsConfig: './tsconfig.app.json', |       tsConfig: './tsconfig.app.json', | ||||||
|       assets: ["./src/assets"], |       assets: ["./src/assets"], | ||||||
|  |       externalDependencies: [ | ||||||
|  |         "ejs" | ||||||
|  |       ], | ||||||
|       optimization: false, |       optimization: false, | ||||||
|       outputHashing: 'none', |       outputHashing: 'none', | ||||||
|       generatePackageJson: true, |       generatePackageJson: true, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user