In my angular.json, I have defined my styles in the following way:
"styles": [ { "input": "node_modules/bootstrap/dist/css/bootstrap.min.css", "bundleName": "ltrCSS" }, { "input": "node_modules/bootstrap/dist/css/bootstrap.rtl.min.css", "bundleName": "rtlCSS" }, "src/[FOLDER]/styles.css", "src/[FOLDER]/rtlcustomstyle.css" ],
When building the site for production, two additional styles are produced. However, no errors occur during local builds. Local Build Local Prod Build Prod
I have experimented with different combinations and orders of the styles, but the issue persists. The CSS file contains an extra <style>...</style>
section which mirrors the content of bootstrap.min.css.