-
-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Labels
Description
Reproduction link or steps
- package.json
echo '{"name":"foo","scripts":{"build":"tsdown"},"devDependencies":{"tsdown":"^0.12.9"}}' > package.json- Create source file
mkdir src && echo 'export const test = "hello"' > src/index.ts- Install and build
pnpm install && pnpm run buildRun on Windows - observe inconsistent path separators in logs.
What is expected?
Consistent path separators in build logs. Since config & docs uses forward slashes, logs should show:
ℹ entry: src/index.ts
...
ℹ dist/index.mjs
What is actually happening?
ℹ entry: src\index.ts ← backslash
ℹ dist/index.mjs ← forward slash
Entry path uses backslashes while output path uses forward slashes, despite config specifying forward slashes.
Any additional comments?
First level uses forward slashes, but nested paths use backslashes.
Build works correctly, it's a cosmetic issue.
Reactions are currently unavailable