Skip to content

Commit

Permalink
Fix dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
simcheolhwan committed Jun 24, 2024
1 parent 51b2e58 commit 28e0b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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("^_")] })
Expand Down

0 comments on commit 28e0b47

Please sign in to comment.