mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-22 06:41:45 +08:00
fix(@schematics/angular): use enableIvy as true
Blocked on https://github.com/angular/angular/pull/28616
This commit is contained in:
parent
f03c44c841
commit
becd2f53d5
@ -9,6 +9,6 @@
|
||||
"**/*.spec.ts"
|
||||
]<% if (experimentalIvy) { %>,
|
||||
"angularCompilerOptions": {
|
||||
"enableIvy": "ngtsc"
|
||||
"enableIvy": true
|
||||
}<% } %>
|
||||
}
|
||||
|
@ -5,11 +5,17 @@
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
import { getGlobalVariable } from '../../utils/env';
|
||||
import { request } from '../../utils/http';
|
||||
import { killAllProcesses } from '../../utils/process';
|
||||
import { createProject, ngServe } from '../../utils/project';
|
||||
|
||||
export default async function() {
|
||||
const argv = getGlobalVariable('argv');
|
||||
if (!argv['ng-snapshots']) {
|
||||
// Only run this test on 8.x versions of Angular, which are currently only on snapshots.
|
||||
return;
|
||||
}
|
||||
try {
|
||||
await createProject('ivy-project', '--experimental-ivy');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user