Skip to content

Commit 5c2fd09

Browse files
authored
Move seealso in module federation
1 parent 234e15c commit 5c2fd09

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/classic-ui/module-federation.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ html_meta:
1010

1111
# Module Federation in Mockup
1212

13-
14-
```{seealso}
15-
Webpack's documentation on [Module Federation](https://webpack.js.org/concepts/module-federation/).
16-
```
17-
1813
Module Federation allows sharing of dependencies between bundles.
1914
Each bundle includes the whole set of dependencies.
2015
However, if multiple bundles have the same dependencies they are loaded only once.
@@ -26,7 +21,13 @@ There is a host bundle, as in the fictional example above, our bundle A.
2621
In Plone the host bundle is the main mockup bundle.
2722
Add-ons can add bundles called "remotes" which are initialized for module federation by the host bundle.
2823

24+
```{seealso}
25+
Webpack's documentation on [Module Federation](https://webpack.js.org/concepts/module-federation/).
26+
```
27+
28+
2929
## Using module federation
30+
3031
The following instructions are for you if you created an add-on with a Mockup pattern and you want to include the respective JavaScript code in your theme code.
3132
Starting with the webpack configuration that you get when creating a Barceloneta theme package via [plonecli][1], add the following:
3233

0 commit comments

Comments
 (0)