File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
libs/native-federation-runtime/src/lib Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,13 @@ async function processRemoteInfos(
40
40
} ;
41
41
42
42
for ( const remoteName of Object . keys ( remotes ) ) {
43
- const url = remotes [ remoteName ] ;
44
- const remoteMap = await processRemoteInfo ( url , remoteName ) ;
45
- importMap = mergeImportMaps ( importMap , remoteMap ) ;
43
+ try {
44
+ const url = remotes [ remoteName ] ;
45
+ const remoteMap = await processRemoteInfo ( url , remoteName ) ;
46
+ importMap = mergeImportMaps ( importMap , remoteMap ) ;
47
+ } catch ( e ) {
48
+ console . error ( `Error loading remote entry for ${ remoteName } from file ${ remotes [ remoteName ] } ` ) ;
49
+ }
46
50
}
47
51
48
52
return importMap ;
Original file line number Diff line number Diff line change 1
1
call npm unpublish @ softarc/native-federation@ 1.0.0 --registry http://localhost:4873
2
+ call npm unpublish @ softarc/native-federation-runtime@ 1.0.0 --registry http://localhost:4873
3
+
2
4
call npm unpublish @ angular-architects/native-federation@ 1.0.0-beta.1 --registry http://localhost:4873
3
5
call nx build native-federation
4
6
call nx build native-federation-core
7
+ call nx build native-federation-runtime
8
+
5
9
call npm publish dist\libs\native-federation-core --registry http://localhost:4873
6
10
call npm publish dist\libs\native-federation --registry http://localhost:4873
11
+ call npm publish dist\libs\native-federation-runtime --registry http://localhost:4873
You can’t perform that action at this time.
0 commit comments