Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 82e3699

Browse files
filipesilvaclydin
authored andcommitted
fix(@schematics/angular): add prod config to e2e schematic
Fix angular/angular-cli#10909 and similar others.
1 parent a6acf57 commit 82e3699

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/schematics/angular/e2e/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ function addAppToWorkspaceFile(options: E2eOptions, workspace: WorkspaceSchema):
7777
protractorConfig: `${projectRoot}protractor.conf.js`,
7878
devServerTarget: `${options.relatedAppName}:serve`,
7979
},
80+
configurations: {
81+
production: {
82+
devServerTarget: `${options.relatedAppName}:serve:production`,
83+
},
84+
},
8085
},
8186
lint: {
8287
builder: '@angular-devkit/build-angular:tslint',

0 commit comments

Comments
 (0)