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
Yep, thanks, I'd say this is a bug. It happens even without involving child components - compiling just <style></style> will produce code that calls add_css() without defining it. PR coming shortly.
The following nested component:
will throw a
Uncaught ReferenceError: add_css is not defined
.https://svelte.technology/repl?version=1.22.2&gist=9b5b0093a02236e4f76ede73027eebf7
If you have whitespace in the style tag of the nested component, all is well:
https://svelte.technology/repl?version=1.22.2&gist=5d03bfc1e847d55af76f52db063524b0
The text was updated successfully, but these errors were encountered: