Skip to content

Commit 6ddacc6

Browse files
committed
Trim whitespace
1 parent e6de265 commit 6ddacc6

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/classic-ui/module-federation.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,24 @@ const package_json_patternslib = require("@patternslib/patternslib/package.json"
5959
Then find the following line.
6060

6161
```js
62-
config = patternslib_config(env, argv, config, ["@plone/mockup"]);
62+
config = patternslib_config(env, argv, config, ["@plone/mockup"]);
6363
```
6464

6565
Below this line add the following.
6666

6767
```js
68-
config.plugins.push(
69-
mf_config({
70-
name: "myaddon",
71-
filename: "myaddon-remote.min.js",
72-
remote_entry: config.entry["myaddon.min"],
73-
dependencies: {
74-
...package_json_patternslib.dependencies,
75-
...package_json_mockup.dependencies,
76-
...package_json.dependencies,
77-
},
78-
})
79-
);
68+
config.plugins.push(
69+
mf_config({
70+
name: "myaddon",
71+
filename: "myaddon-remote.min.js",
72+
remote_entry: config.entry["myaddon.min"],
73+
dependencies: {
74+
...package_json_patternslib.dependencies,
75+
...package_json_mockup.dependencies,
76+
...package_json.dependencies,
77+
},
78+
})
79+
);
8080
```
8181

8282
Replace the name `myaddon` with your add-on bundle's unique name.
@@ -93,7 +93,7 @@ To preserve compatibility with older add-ons and JavaScript implementations, the
9393
Constructs like the following still work:
9494

9595
```js
96-
(function($) {
97-
// JS code which uses $
98-
})(jQuery);
96+
(function($) {
97+
// JS code which uses $
98+
})(jQuery);
9999
```

0 commit comments

Comments
 (0)