8
8
lookupInResultMap ,
9
9
} from '../utils/build-result-map' ;
10
10
import { logger } from '../utils/logger' ;
11
+ import { normalize } from '../utils/normalize' ;
11
12
12
13
export interface ArtefactInfo {
13
14
mappings : SharedInfo [ ] ;
@@ -64,7 +65,7 @@ export async function bundleExposedAndMappings(
64
65
dev : ! fedOptions . dev
65
66
? undefined
66
67
: {
67
- entryPoint : path . normalize ( item . fileName ) ,
68
+ entryPoint : normalize ( path . normalize ( item . fileName ) ) ,
68
69
} ,
69
70
} ) ;
70
71
}
@@ -78,7 +79,9 @@ export async function bundleExposedAndMappings(
78
79
dev : ! fedOptions . dev
79
80
? undefined
80
81
: {
81
- entryPoint : item . fileName ,
82
+ entryPoint : normalize (
83
+ path . join ( fedOptions . workspaceRoot , item . fileName )
84
+ ) ,
82
85
} ,
83
86
} ) ;
84
87
}
@@ -93,8 +96,8 @@ export function describeExposed(
93
96
const result : Array < ExposesInfo > = [ ] ;
94
97
95
98
for ( const key in config . exposes ) {
96
- const localPath = path . normalize (
97
- path . join ( options . workspaceRoot , config . exposes [ key ] )
99
+ const localPath = normalize (
100
+ path . normalize ( path . join ( options . workspaceRoot , config . exposes [ key ] ) )
98
101
) ;
99
102
100
103
result . push ( {
@@ -128,7 +131,7 @@ export function describeSharedMappings(
128
131
dev : ! fedOptions . dev
129
132
? undefined
130
133
: {
131
- entryPoint : path . normalize ( m . path ) ,
134
+ entryPoint : normalize ( path . normalize ( m . path ) ) ,
132
135
} ,
133
136
} ) ;
134
137
}
0 commit comments