88 lookupInResultMap ,
99} from '../utils/build-result-map' ;
1010import { logger } from '../utils/logger' ;
11+ import { normalize } from '../utils/normalize' ;
1112
1213export interface ArtefactInfo {
1314 mappings : SharedInfo [ ] ;
@@ -64,7 +65,7 @@ export async function bundleExposedAndMappings(
6465 dev : ! fedOptions . dev
6566 ? undefined
6667 : {
67- entryPoint : path . normalize ( item . fileName ) ,
68+ entryPoint : normalize ( path . normalize ( item . fileName ) ) ,
6869 } ,
6970 } ) ;
7071 }
@@ -78,7 +79,9 @@ export async function bundleExposedAndMappings(
7879 dev : ! fedOptions . dev
7980 ? undefined
8081 : {
81- entryPoint : item . fileName ,
82+ entryPoint : normalize (
83+ path . join ( fedOptions . workspaceRoot , item . fileName )
84+ ) ,
8285 } ,
8386 } ) ;
8487 }
@@ -93,8 +96,8 @@ export function describeExposed(
9396 const result : Array < ExposesInfo > = [ ] ;
9497
9598 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 ] ) )
98101 ) ;
99102
100103 result . push ( {
@@ -128,7 +131,7 @@ export function describeSharedMappings(
128131 dev : ! fedOptions . dev
129132 ? undefined
130133 : {
131- entryPoint : path . normalize ( m . path ) ,
134+ entryPoint : normalize ( path . normalize ( m . path ) ) ,
132135 } ,
133136 } ) ;
134137 }
0 commit comments