Skip to content

Commit

Permalink
Angular: Allow outputPath object syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Jun 7, 2024
1 parent 3f3cb5d commit 88097b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/frameworks/angular/src/server/angular-cli-webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ exports.getWebpackConfig = async (baseConfig, { builderOptions, builderContext }
styles: builderOptions.styles
?.map((style) => (typeof style === 'string' ? style : style.input))
.filter((style) => typeof style === 'string' || style.inject !== false),
outputPath:
typeof builderOptions.outputPath === 'string'
? builderOptions.outputPath
: builderOptions.outputPath?.base,

// Fixed options
optimization: false,
Expand Down

0 comments on commit 88097b5

Please sign in to comment.