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
When preprocessing a .svelte file, compiling errors due to seeing a Link component import/tag as a tag. Whatever is throwing this error probably needs to be case sensitive, as I would think that is a pretty common import/component name.
Example to reproduce
<script>
importLinkfrom'./link'; // Doesnt' matter what is in this component, error is on import.
</script>
<Link />
<style>
/* Need a style block to throw incorrect conflict error between <style> and <link> tags */.something { }
</style>
Expected Behavior
Should work without errors.
Current Behavior
Compile errors warning
Possible Solution
Change regex or whatever to case sensitive.
Sorry for not filling out everything, looking at other solutions atm, just letting you know, hopefully to help.
Cheers.
The text was updated successfully, but these errors were encountered:
destructobeam
changed the title
Assumes import Link from 'components/link' is <link> tag in /svelte package
Assumes import Link from 'components/link' is same as <link> tag in /svelte package
Jan 4, 2020
When preprocessing a .svelte file, compiling errors due to seeing a Link component import/tag as a tag. Whatever is throwing this error probably needs to be case sensitive, as I would think that is a pretty common import/component name.
Example to reproduce
Expected Behavior
Should work without errors.
Current Behavior
Compile errors warning
Possible Solution
Change regex or whatever to case sensitive.
Sorry for not filling out everything, looking at other solutions atm, just letting you know, hopefully to help.
Cheers.
The text was updated successfully, but these errors were encountered: