@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.
-
-
Nope, emotion is not listed as a dependency.
-
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?
- 1 more reply
New conversation -
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.
