Is there a way to access a css file from a node_modules package in order to generate swagger documentation within an endpoint using the Next API?
I have noticed that tree shaking is removing the css files from the swagger-ui-dist package. How can this be prevented? I attempted to utilize the "sideEffects" property in next.config.js webpack key, but the css file still vanished.
UPDATE: It has come to my attention (please correct me if I am mistaken) that it is Vercel who is performing the tree shaking process.