@vercel/microfrontends 0.19.3 → 0.19.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -921,13 +921,16 @@ function findDefaultMicrofrontendsPackages({
921
921
  );
922
922
  const matchingPaths = [];
923
923
  for (const microfrontendsJsonPath of microfrontendsJsonPaths) {
924
- const microfrontendsJsonContent = readFileSync2(
925
- microfrontendsJsonPath,
926
- "utf-8"
927
- );
928
- const microfrontendsJson = parse2(microfrontendsJsonContent);
929
- if (isMainConfig(microfrontendsJson) && microfrontendsJson.applications[applicationName]) {
930
- matchingPaths.push(microfrontendsJsonPath);
924
+ try {
925
+ const microfrontendsJsonContent = readFileSync2(
926
+ microfrontendsJsonPath,
927
+ "utf-8"
928
+ );
929
+ const microfrontendsJson = parse2(microfrontendsJsonContent);
930
+ if (isMainConfig(microfrontendsJson) && microfrontendsJson.applications[applicationName]) {
931
+ matchingPaths.push(microfrontendsJsonPath);
932
+ }
933
+ } catch (error) {
931
934
  }
932
935
  }
933
936
  if (matchingPaths.length > 1) {