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 2ece72e commit 54cbe8cCopy full SHA for 54cbe8c
scripts/rollup/packaging.js
@@ -139,7 +139,11 @@ let entryPointsToHasBundle = new Map();
139
for (const bundle of Bundles.bundles) {
140
let hasBundle = entryPointsToHasBundle.get(bundle.entry);
141
if (!hasBundle) {
142
- entryPointsToHasBundle.set(bundle.entry, bundle.bundleTypes.length > 0);
+ const hasNonFBBundleTypes = bundle.bundleTypes.some(
143
+ type =>
144
+ type !== FB_WWW_DEV && type !== FB_WWW_PROD && type !== FB_WWW_PROFILING
145
+ );
146
+ entryPointsToHasBundle.set(bundle.entry, hasNonFBBundleTypes);
147
}
148
149
0 commit comments