File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
tests/legacy-cli/e2e/tests/ivy 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:
1128011280 source-map-support "^0.5.3"
1128111281 yn "^2.0.0"
1128211282
11283- tslib@^1.10.0:
11283+ tslib@1.10.0, tslib@ ^1.10.0:
1128411284 version "1.10.0"
1128511285 resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
1128611286 integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
You can’t perform that action at this time.
0 commit comments