Skip to content

Commit

Permalink
chore: update build
Browse files Browse the repository at this point in the history
  • Loading branch information
LoTwT committed Apr 2, 2024
1 parent 9579b11 commit 1e4dfe2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ async function build() {
console.log("\n🚀 Start Building...\n")

ensureDir("dist")
ensureDir("dist/dist")

const pkgFiles = (
await fg("pkg/**/*", {
Expand All @@ -26,7 +27,7 @@ async function build() {
"**/.gitignore",
],
})
).map((file) => [file, file.replace("pkg/", "")])
).map((file) => [file, file.replace("pkg/", "dist/")])

const files = [...sharedFiles, ...pkgFiles]

Expand Down

0 comments on commit 1e4dfe2

Please sign in to comment.