Skip to content

Commit 1f25f30

Browse files
Merge pull request #716 from angular-architects/rainerhahnekamp-patch-1
docs/typos-in-faqs
2 parents d13fe55 + 73c0aab commit 1f25f30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libs/native-federation/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ For this, there are several reasons:
348348

349349
The good message is, that the official Angular Package Format defines the usage of ECMA Script Modules (ESM) for years. This is the future-proof standard, Native Federation is built upon and all npm packages created with the Angular CLI follow. If you use older CommonJS-based packages, Native Federation automatically converts them to ESM. Depending on the package, this might change some details. Here, you find some [information for dealing with CommonJS packages](https://shorturl.at/jmzH0).
350350

351-
## How to Deal with Transitive Dependencies?
351+
### How to Deal with Transitive Dependencies?
352352

353-
Since version 18@latest, also transitive dependencies can be shared. For instance, `primeng` uses a lib `@primeuix/styled` for theming. The latter one is now shared too if `primeng` is. This prevents possible challanges but also results in more bundles.
353+
Since version >=18.2.7, transitive dependencies can also be shared. For instance, `primeng` uses a lib `@primeuix/styled` for theming. The latter one is now shared too if `primeng` is. This prevents possible challenges but also results in more bundles.
354354

355355
To activate sharing transient dependencies, set the new `transient` flag provided by `share` and `shareAll` to `true`:
356356

@@ -370,9 +370,9 @@ module.exports = withNativeFederation({
370370

371371
The `skip` list will also be used for filtering transient dependencies. Hence, you can combine it with `shareAll` and `transient: true`.
372372

373-
## How to Manually Define a Package's Entry Point?
373+
### How to Manually Define a Package's Entry Point?
374374

375-
Usually, Native Federation automatically detects entry points into shared packages. If the packages neither align with the official standard nor with typical conventions beyond these standards, you can also directly provide the entry point:
375+
Usually, Native Federation automatically detects entry points in shared packages. If the packages neither align with the official standard nor with typical conventions beyond these standards, you can also directly provide the entry point:
376376

377377
```js
378378
module.exports = withNativeFederation({

0 commit comments

Comments
 (0)