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.
1 parent f5d946d commit 9559769Copy full SHA for 9559769
.changeset/quick-dodos-tie.md
@@ -0,0 +1,5 @@
1
+---
2
+'@module-federation/manifest': patch
3
4
+
5
+fix: remoteEntry chunk may have css files which need to be exclude
packages/manifest/src/StatsManager.ts
@@ -84,7 +84,7 @@ class StatsManager {
84
85
assert(remoteEntryNameChunk, 'Can not get remoteEntry chunk!');
86
const files = Array.from(remoteEntryNameChunk.files).filter(
87
- (f) => !f.includes(HOT_UPDATE_SUFFIX),
+ (f) => !f.includes(HOT_UPDATE_SUFFIX) && !f.endsWith('.css'),
88
);
89
assert(
90
files.length === 1,
0 commit comments