From 28e0b471f22b0943d8c8073caf1f2ba35e5df25e Mon Sep 17 00:00:00 2001 From: sim Date: Mon, 24 Jun 2024 18:57:43 +0900 Subject: [PATCH] Fix dist directory --- _api/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_api/src/main.ts b/_api/src/main.ts index c9e066c..759999b 100644 --- a/_api/src/main.ts +++ b/_api/src/main.ts @@ -16,7 +16,7 @@ import { aggregateChainData } from "./aggregateChains" const rootDir = process.env.ROOT_DIR || "" const srcDir = path.resolve(__dirname, "../..", rootDir) -const distDir = path.resolve(__dirname, "dist") +const distDir = path.resolve(__dirname, "../dist") deleteDirectory(distDir) copyDirectory(srcDir, distDir, { excludes: ["testnets", "devnets", new RegExp("\\."), new RegExp("^_")] })