@WebStormIDE is it possible to tell the code importer to ignore or prioritize certain libraries? styled-components v5 and Storybook are using Emotion internally, so trying to import "styled" or "css" lists emotion/core first, even if the project is using styled-components.
We'll try to reproduce that with styled-components and storybook as project dependencies. Any chance you can share a code sample where the wrong import is added? Have you tried the workaround with the `Do not import exactly from` option? Did it help?
-
-
Sounds good. You should be able to replicate it just by adding styled-components 5.x The do not import trick works (after i added to Typescript instead of just JavaScript
)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
