but for certain modules like shared I import like so import { Button } from "shared" so it think it's an external module. How can I get it to put all shared stuff within the internal category? I also have other packages like this (e.g. context) so I need a way of handling multiple.
The ultimate order I want is:
I've got this:
but for certain modules like
shared
I import like soimport { Button } from "shared"
so it think it's an external module. How can I get it to put allshared
stuff within the internal category? I also have other packages like this (e.g. context) so I need a way of handling multiple. The ultimate order I want is:import react
import emotion
import components/something import shared/button
import ./currentDir