File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
tests/legacy-cli/e2e/tests/misc Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change
1
+
2
+ import { ng } from '../../utils/process' ;
3
+ import { createProject } from '../../utils/project' ;
4
+
5
+ export default async function ( ) {
6
+ // Create a new project to avoid polluting node modules for other tests
7
+ await createProject ( 'ivy-project-ngcc' , '--enable-ivy' ) ;
8
+
9
+ const { stderr, stdout } = await ng ( 'build' , '--prod' ) ;
10
+
11
+ if ( stdout . includes ( 'as esm5' ) || stderr . includes ( 'as esm5' ) ) {
12
+ throw new Error ( 'ngcc should not process ES5 during differential loading builds.' ) ;
13
+ }
14
+ }
Original file line number Diff line number Diff line change @@ -11280,7 +11280,7 @@ ts-node@^5.0.0:
11280
11280
source-map-support "^0.5.3"
11281
11281
yn "^2.0.0"
11282
11282
11283
- tslib@^1.10.0:
11283
+ tslib@1.10.0, tslib@ ^1.10.0:
11284
11284
version "1.10.0"
11285
11285
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
11286
11286
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
You can’t perform that action at this time.
0 commit comments