But when I include that component in another app it's injecting global bulma stuff into the entire site. I expected it to be scoped by default.
Component is here. I'm using default config from CRL.
The injected css can be seen in the <head> section of https://yetibot.com/community where this component is being used. It includes a bunch of (expected) scoped rules like:
Any idea how to avoid importing Bulma's reset globally? (Note: bulma is already included on this site so this just duplicates existing rules but it also overrides some of the customizations I had made in the site that hosts the component).
I'm importing Bulma in my component:
But when I include that component in another app it's injecting global bulma stuff into the entire site. I expected it to be scoped by default.
Component is here. I'm using default config from CRL.
The injected css can be seen in the
<head>
section of https://yetibot.com/community where this component is being used. It includes a bunch of (expected) scoped rules like:but it also globally includes Bulma's minireset without scopes, like:
Any idea how to avoid importing Bulma's reset globally? (Note: bulma is already included on this site so this just duplicates existing rules but it also overrides some of the customizations I had made in the site that hosts the component).