We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.js
1 parent 0eb6697 commit 0b076b7Copy full SHA for 0b076b7
.changeset/bright-beds-obey.md
@@ -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
@@ -34,7 +34,7 @@ export function isRemoteInfoWithEntry(
34
}
35
36
export function isPureRemoteEntry(remote: RemoteWithEntry): boolean {
37
- return !remote.entry.includes('.json') && remote.entry.includes('.js');
+ return !remote.entry.includes('.json');
38
39
40
// eslint-disable-next-line @typescript-eslint/no-explicit-any
0 commit comments