Data path “” must NOT have additional properties(extractCss) in Angular 13 while upgrading project

Just remove the "extractCss": true from your production environment, it will resolve the problem.

The reason about it is extractCss is deprecated, and it’s value is true by default.
See more here: Extracting CSS into JS with Angular 11 (deprecated extractCss)

Leave a Comment