Open rebeccaalpert opened 2 months ago
Backstage does not support custom webpack configuration. We may not be able to fix this. I tried switching us to @patternfly/patternfly instead of core and we still wound up with multiple imports. I also tried changing to a different stylesheet and moving the location of the imports.
One example to look at to see this is the Jump Links. When we removed older versions of PatternFly, the number of stylesheets decreased from ~7 to ~3, but was still present.
Moving to Q1; Nicole has talked to some other teams that have more subject matter experience and they're looking at upgrading PF in the other plugins, etc.
It looks like chatbot style sheets are being overridden by individual PF React component sheets in Red Hat Developer Hub. I discussed this briefly yesterday with @mcoker, @kmcfaul, and @dlabaj. It might be a webpack issue we can solve by adding a nullloader. However, their webpack configuration appears to be hidden. They are using Backstage. We should investigate further.