Skip to content

Commit 759d09d

Browse files
Use fsImportPath first and fall back to urlImportPath
1 parent 0a4e82d commit 759d09d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/lib/src/dev/expose-development.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ export function devExposePlugin(
5353
const __federation_import = async (urlImportPath, fsImportPath) => {
5454
let importedModule;
5555
try {
56-
return await import(urlImportPath);
56+
return await import(fsImportPath);
5757
}catch(ex) {
58-
return await import(fsImportPath)
58+
return await import(urlImportPath);
5959
}
6060
};
6161
export const get =(module) => {

0 commit comments

Comments
 (0)