mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(nx/desktop): ejs missing
This commit is contained in:
parent
e3cff46151
commit
3ce4aa12d4
@ -36,6 +36,14 @@ module.exports = {
|
||||
{
|
||||
from: "../client/dist",
|
||||
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/mode",
|
||||
"codemirror/keymap",
|
||||
"@highlightjs/cdn-assets"
|
||||
"@highlightjs/cdn-assets",
|
||||
"ejs"
|
||||
];
|
||||
|
||||
for (const nodePath of nodePaths) {
|
||||
@ -53,6 +54,9 @@ module.exports = {
|
||||
main: './src/main.ts',
|
||||
tsConfig: './tsconfig.app.json',
|
||||
assets: ["./src/assets"],
|
||||
externalDependencies: [
|
||||
"ejs"
|
||||
],
|
||||
optimization: false,
|
||||
outputHashing: 'none',
|
||||
generatePackageJson: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user