Skip to content

Commit

Permalink
Angular: Update outputPath default value in angular-cli-webpack.js
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Jul 2, 2024
1 parent 898314b commit 1934512
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/frameworks/angular/src/server/angular-cli-webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ exports.getWebpackConfig = async (baseConfig, { builderOptions, builderContext }
// Default options
index: 'noop-index',
main: 'noop-main',
outputPath: 'noop-out',

// Options provided by user
...builderOptions,
Expand All @@ -71,7 +70,7 @@ exports.getWebpackConfig = async (baseConfig, { builderOptions, builderContext }
outputPath:
typeof builderOptions.outputPath === 'string'
? builderOptions.outputPath
: builderOptions.outputPath?.base,
: builderOptions.outputPath?.base ?? 'noop-out',

// Fixed options
optimization: false,
Expand Down

0 comments on commit 1934512

Please sign in to comment.