mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-28 02:22:26 +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",
|
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user