Skip to content

Commit

Permalink
Merge pull request #28418 from storybookjs/valentin/fix-angular-outpu…
Browse files Browse the repository at this point in the history
…t-path-empty

Angular: Update outputPath default value in angular-cli-webpack.js
  • Loading branch information
valentinpalkovic authored Jul 2, 2024
2 parents 898314b + 1934512 commit 9781303
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 9781303

Please sign in to comment.