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
In my svelte.config.js, I'm using globalStyle. If I make a css change to a style tag with a global attribute, the app updates via HMR as expected, but if I revert the change, the app doesn't re-update to show the initial styling.
This might actually be an issue at the svelte-loader level. Looks like it happens if I explicitly use :global too and get rid of the global style attribute.
Describe the bug
In my
svelte.config.js
, I'm usingglobalStyle
. If I make a css change to a style tag with aglobal
attribute, the app updates via HMR as expected, but if I revert the change, the app doesn't re-update to show the initial styling.To Reproduce
Repro: https://github.com/JohnnyFun/svelte-preprocess-issue-global
Information about your project: (output of
npx webpack-cli info
svelte-preprocess
version 5.0.1 (latest)Whether your project uses Webpack or Rollup: webpack
The text was updated successfully, but these errors were encountered: