Skip to content

Commit cebbf7a

Browse files
committed
fix(@schematics/angular): remove explicit outputPath option value from generated applications
The `outputPath` option now defaults to `dist/<project_name>` for applications. This removes the need to explicitly set the option within a newly generated project. The value removal also reduces the overall size of the `angular.json` configuration for new projects. Existing projects are not modified by this change.
1 parent 63428f3 commit cebbf7a

File tree

1 file changed

+0
-1
lines changed
  • packages/schematics/angular/application

1 file changed

+0
-1
lines changed

packages/schematics/angular/application/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ function addAppToWorkspaceFile(
236236
builder: Builders.BuildApplication,
237237
defaultConfiguration: 'production',
238238
options: {
239-
outputPath: `dist/${folderName}`,
240239
index: `${sourceRoot}/index.html`,
241240
browser: `${sourceRoot}/main.ts`,
242241
polyfills: options.experimentalZoneless ? [] : ['zone.js'],

0 commit comments

Comments
 (0)