diff --git a/code/frameworks/angular/src/server/angular-cli-webpack.js b/code/frameworks/angular/src/server/angular-cli-webpack.js index 76d05ff55e72..ad617f4e38d2 100644 --- a/code/frameworks/angular/src/server/angular-cli-webpack.js +++ b/code/frameworks/angular/src/server/angular-cli-webpack.js @@ -66,6 +66,9 @@ exports.getWebpackConfig = async (baseConfig, { builderOptions, builderContext } // Options provided by user ...builderOptions, + styles: builderOptions.styles + ?.map((style) => (typeof style === 'string' ? style : style.input)) + .filter((style) => typeof style === 'string' || style.inject !== false), // Fixed options optimization: false,