File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ This requires some changes in the `angular.json`. If you go with a default confi
7
7
```
8
8
ng g @angular-architects/native-federation:appbuilder
9
9
```
10
+
10
11
You need to run this command for each application using Native Federation.
11
12
12
13
For more advanced cases, please find a diff of the changes needed for this version:
Original file line number Diff line number Diff line change @@ -63,11 +63,16 @@ export async function* runBuilder(
63
63
let builder = await context . getBuilderNameForTarget ( target ) ;
64
64
65
65
if ( builder === '@angular-devkit/build-angular:browser-esbuild' ) {
66
- logger . info ( '.: UPDATE NEEDED :.' ) ;
66
+ logger . info ( '.: NATIVE FEDERATION - UPDATE NEEDED :.' ) ;
67
67
logger . info ( '' ) ;
68
68
logger . info ( "Since version 17.1, Native Federation uses Angular's" ) ;
69
69
logger . info ( 'Application-Builder and its Dev-Server.' ) ;
70
- logger . info ( 'Please update your project config, e.g. in angular.json' ) ;
70
+ logger . info ( '' ) ;
71
+ logger . info ( 'If you are sill on Angular 17.0.x, please update to' ) ;
72
+ logger . info ( 'Angular 17.1.x or downgrade to Native Federation 17.0.x.' ) ;
73
+ logger . info ( '' ) ;
74
+ logger . info ( 'For working with Native Federation 17.1.x (recommented), ' ) ;
75
+ logger . info ( 'please update your project config, e.g. in angular.json' ) ;
71
76
logger . info ( '' ) ;
72
77
logger . info ( 'This command performs the needed update for default configs:' ) ;
73
78
logger . info ( '' ) ;
Original file line number Diff line number Diff line change @@ -268,6 +268,7 @@ async function runEsbuild(
268
268
'async-await' : false ,
269
269
'object-rest-spread' : false ,
270
270
} ,
271
+ splitting : true ,
271
272
platform : 'browser' ,
272
273
format : 'esm' ,
273
274
target : [ 'esnext' ] ,
You can’t perform that action at this time.
0 commit comments