You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure where this question belongs, but I'm having trouble using the bootstrap SCSS in my Svelte project over what appears to be inconsistent treatment of global SCSS.
The following code works fine, emitting no warnings:
Here are the warnings, all complaining about unused CSS selectors:
I would like to be able to have global and local styles in my App.svelte component, but I don't see how to do that without getting these warnings. The compiler emits the warnings too.
Here's my rollup.config.js. I'm using Svelte with TypeScript and Electron:
Issue #374 appears to be related, but because that issue doesn't address the inconsistency between the two methods of specifying global CSS, it's not clear to me whether it's the same problem.
My workaround is to just make all CSS in App.svelte global, whether other components use the CSS or not.
The text was updated successfully, but these errors were encountered:
I'm not sure where this question belongs, but I'm having trouble using the bootstrap SCSS in my Svelte project over what appears to be inconsistent treatment of global SCSS.
The following code works fine, emitting no warnings:
However, this code emits a bunch of warnings:
Here are the warnings, all complaining about unused CSS selectors:
I would like to be able to have global and local styles in my
App.svelte
component, but I don't see how to do that without getting these warnings. The compiler emits the warnings too.Here's my
rollup.config.js
. I'm using Svelte with TypeScript and Electron:From
package.json
, in case you need to see the versions of things:Issue #374 appears to be related, but because that issue doesn't address the inconsistency between the two methods of specifying global CSS, it's not clear to me whether it's the same problem.
My workaround is to just make all CSS in
App.svelte
global, whether other components use the CSS or not.The text was updated successfully, but these errors were encountered: