Skip to content

Commit

Permalink
Fix PrepareV2.ts when running on windows (#69)
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Scott <steven.scott@codemettle.com>
  • Loading branch information
codingismy11to7 and Steven Scott authored Feb 3, 2025
1 parent 70a82fe commit 3932c07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/strange-berries-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/build-utils": patch
---

fix PrepareV2.ts on windows
2 changes: 1 addition & 1 deletion src/PrepareV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const run = Effect.gen(function*() {
})

const modules = entrypoints
.map(file => file.replace(/\.ts$/, ""))
.map(file => file.replace(/\\/, "/").replace(/\.ts$/, ""))
.sort()

const template = yield* fs.readFileString("src/.index.ts").pipe(
Expand Down

0 comments on commit 3932c07

Please sign in to comment.