Skip to content

Commit 27eb1be

Browse files
committed
feat(nf): don't generate remote section for host in federation.config.js
1 parent d87f613 commit 27eb1be

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libs/native-federation/src/schematics/init/files/federation.config.js

-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ module.exports = withNativeFederation({
77
exposes: {
88
'./Component': './<%=projectSourceRoot%>/app/app.component.ts',
99
},
10-
<% } else if (type === 'host') { %>
11-
remotes: {<% for (key in remoteMap) { %>
12-
"<%=key%>": "<%=remoteMap[key]%>",<% } %>
13-
},
1410
<% } %>
1511
shared: {
1612
...shareAll({ singleton: true, strictVersion: true, requiredVersion: 'auto' }),

0 commit comments

Comments
 (0)