mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-19 18:21:37 +08:00
build: fix missing copying of etapi.openapi.yaml into dist folder
fixes build via electron-forge
This commit is contained in:
parent
e7f5d1d280
commit
010783102a
@ -29,7 +29,7 @@ const copy = async () => {
|
|||||||
fs.copySync(path.join("build", srcFile), destFile, { recursive: true });
|
fs.copySync(path.join("build", srcFile), destFile, { recursive: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
const filesToCopy = ["config-sample.ini", "tsconfig.webpack.json"];
|
const filesToCopy = ["config-sample.ini", "tsconfig.webpack.json", "./src/etapi/etapi.openapi.yaml"];
|
||||||
for (const file of filesToCopy) {
|
for (const file of filesToCopy) {
|
||||||
log(`Copying ${file}`);
|
log(`Copying ${file}`);
|
||||||
await fs.copy(file, path.join(DEST_DIR, file));
|
await fs.copy(file, path.join(DEST_DIR, file));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user