File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { resolveClean } from '../features/clean'
7
7
import { resolveEntry } from '../features/entry'
8
8
import { resolveTarget } from '../features/target'
9
9
import { resolveTsconfig } from '../features/tsconfig'
10
- import { resolveRegex } from '../utils/general'
10
+ import { resolveRegex , slash } from '../utils/general'
11
11
import { logger } from '../utils/logger'
12
12
import { normalizeFormat , readPackageJson } from '../utils/package'
13
13
import type { Awaitable } from '../utils/types'
@@ -99,7 +99,7 @@ async function resolveWorkspace(
99
99
} )
100
100
)
101
101
. filter ( ( file ) => file !== 'package.json' ) // exclude root package.json
102
- . map ( ( file ) => path . resolve ( rootCwd , file , '..' ) )
102
+ . map ( ( file ) => slash ( path . resolve ( rootCwd , file , '..' ) ) )
103
103
} else {
104
104
packages = (
105
105
await glob ( {
@@ -109,7 +109,7 @@ async function resolveWorkspace(
109
109
onlyDirectories : true ,
110
110
absolute : true ,
111
111
} )
112
- ) . map ( ( file ) => path . resolve ( file ) )
112
+ ) . map ( ( file ) => slash ( path . resolve ( file ) ) )
113
113
}
114
114
115
115
if ( packages . length === 0 ) {
You can’t perform that action at this time.
0 commit comments