Skip to content

Commit 508908d

Browse files
authored
Merge pull request #1173 from TriliumNext/fix_etapi-openapi-integration
build: fix missing copying of etapi.openapi.yaml in build process
2 parents 4d280f3 + 0107831 commit 508908d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/copy-dist.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const copy = async () => {
2929
fs.copySync(path.join("build", srcFile), destFile, { recursive: true });
3030
}
3131

32-
const filesToCopy = ["config-sample.ini", "tsconfig.webpack.json"];
32+
const filesToCopy = ["config-sample.ini", "tsconfig.webpack.json", "./src/etapi/etapi.openapi.yaml"];
3333
for (const file of filesToCopy) {
3434
log(`Copying ${file}`);
3535
await fs.copy(file, path.join(DEST_DIR, file));

0 commit comments

Comments
 (0)