We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 258df04 commit 6e7c5e8Copy full SHA for 6e7c5e8
packages/schematics/angular/application/index.ts
@@ -372,7 +372,7 @@ export default function (options: ApplicationOptions): Rule {
372
}),
373
move(sourceDir),
374
]), MergeStrategy.Overwrite),
375
- schematic('e2e', e2eOptions),
+ !options.minimal ? schematic('e2e', e2eOptions) : noop(),
376
options.skipPackageJson ? noop() : addDependenciesToPackageJson(options),
377
]);
378
};
packages/schematics/angular/ng-new/index.ts
@@ -57,6 +57,7 @@ export default function (options: NgNewOptions): Rule {
57
skipPackageJson: false,
58
// always 'skipInstall' here, so that we do it after the move
59
skipInstall: true,
60
+ minimal: options.minimal,
61
62
63
return chain([
0 commit comments