Closed victorkardel closed 11 months ago
I'm not sure what to do with this issue. I'm not familiar with "tsup css" and so I'm not totally sure what you're describing.
maybe the library css is not scoped
This library doesn't define any CSS files and the only styles used are inline attributes (which are required for the library to function).
I'm going to close this since I don't think it's really actionable for me. If you want to provide a repro that I can check out and run then I will take another look.
I have a project with tsup config above:
This config allow me to create an stand alone components library, that I'm using in a storybook project and also nextjs project, so when trying to install on this ui package react-size-panels my index.css file that I'm exporting on the bundled dist folder is getting deleted.
Above I show what is happening:
https://github.com/bvaughn/react-resizable-panels/assets/75961352/bed1f1de-d877-48d6-9a5a-752122469b3a