We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b5653b commit c80a92aCopy full SHA for c80a92a
packages/schematics/angular/migrations/update-8/differential-loading.ts
@@ -95,14 +95,17 @@ function updateBrowserlist(): Rule {
95
}
96
97
// For all projects
98
- for (const projectName of Object.keys(angularJson.projects)) {
99
- const project = angularJson.projects[projectName];
+ for (const [name, project] of Object.entries(angularJson.projects)) {
100
if (!isJsonObject(project)) {
101
continue;
102
103
if (typeof project.root != 'string' || project.projectType !== 'application') {
104
105
+ if (name.endsWith('-e2e')) {
106
+ // Skip existing separate E2E projects
107
+ continue;
108
+ }
109
110
const browserslistPath = join(normalize(project.root), '/browserslist');
111
const source = tree.read(browserslistPath);
0 commit comments