Skip to content

Commit

Permalink
maint(Docs): Minor typo in module federation document.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Jan 7, 2025
1 parent 3882272 commit fadd5d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/developer/module-federation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ For jQuery the remote bundle is named ``jquery-remote.min.js``.

```
import "@patternslib/patternslib/webpack/module_federation";
// Please not the parentheses for the next import.
// Kepp them, otherwise we get this error:
// Please note the parentheses for the next import.
// Keep them, otherwise we get this error:
// "Shared module is not available for eager consumption."
import("./src/patterns");
```
Expand All @@ -39,8 +39,8 @@ For the jQuery bundle which we will use as remote we create: ``index-jquery.js``

```
import "@patternslib/patternslib/webpack/module_federation";
// Please not the parentheses for the next import.
// Kepp them, otherwise we get this error:
// Please note the parentheses for the next import.
// Keep them, otherwise we get this error:
// "Shared module is not available for eager consumption."
import("@patternslib/patternslib/src/globals");
```
Expand Down

0 comments on commit fadd5d4

Please sign in to comment.