Skip to content

Commit 1d50eff

Browse files
Merge branch 'main' into update-nx
2 parents 59d921c + 0b076b7 commit 1d50eff

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/bright-beds-obey.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/runtime-core': patch
3+
---
4+
5+
Allow extensions other than .js for non-manifest entries

packages/runtime-core/src/utils/tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function isRemoteInfoWithEntry(
3434
}
3535

3636
export function isPureRemoteEntry(remote: RemoteWithEntry): boolean {
37-
return !remote.entry.includes('.json') && remote.entry.includes('.js');
37+
return !remote.entry.includes('.json');
3838
}
3939

4040
// eslint-disable-next-line @typescript-eslint/no-explicit-any

0 commit comments

Comments
 (0)