Production builds lack css for unreferenced component

I have a series of spring & java-based components that are dynamically created from a factory, and they are not directly referenced from any of the application code. These have @CssImports which work fine in dev mode. When building in production mode, the build process skips those css imports leaving the production build broken - ostensibly the result of a build-time optimization. If I add a static reference to the types (just declaring unused and uninitialized variables is enough) then the Css is included.

Outside of taking this step or putting the @CssImport somewhere it doesn’t belong, is there a way that I can white-list or otherwise prompt the production build process to include that CSS?