Skip to content

Commit c183599

Browse files
authored
feat(mfe): allow @vercel/microfrontends to be considered a MFE package dependency (#9493)
### Description This PR allows `@vercel/microfrontends` to be considered a MFE dependency in addition to `@vercel/micro-frontends-internal`. ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
1 parent 8bb09dd commit c183599

File tree

1 file changed

+6
-1
lines changed
  • crates/turborepo-micro-frontend/src

1 file changed

+6
-1
lines changed

crates/turborepo-micro-frontend/src/lib.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ use turbopath::AbsoluteSystemPath;
1313
///
1414
/// This is subject to change at any time.
1515
pub const DEFAULT_MICRO_FRONTENDS_CONFIG: &str = "micro-frontends.jsonc";
16-
pub const MICRO_FRONTENDS_PACKAGES: &[&str] = [MICRO_FRONTENDS_PACKAGE_INTERNAL].as_slice();
16+
pub const MICRO_FRONTENDS_PACKAGES: &[&str] = [
17+
MICRO_FRONTENDS_PACKAGE_EXTERNAL,
18+
MICRO_FRONTENDS_PACKAGE_INTERNAL,
19+
]
20+
.as_slice();
1721
pub const MICRO_FRONTENDS_PACKAGE_INTERNAL: &str = "@vercel/micro-frontends-internal";
22+
pub const MICRO_FRONTENDS_PACKAGE_EXTERNAL: &str = "@vercel/microfrontends";
1823
pub const SUPPORTED_VERSIONS: &[&str] = ["1"].as_slice();
1924

2025
/// The minimal amount of information Turborepo needs to correctly start a local

0 commit comments

Comments
 (0)