Actually imports like these are matching scopedRegExp in isScope function. In the example below is not a scoped package, is only an alias to src folder
import UnitDevice from '@/components/UnitDevice'
So my proposal is to change from
const scopedRegExp = /^@[^/]*\/?[^/]+/
to this:
const scopedRegExp = /^@[^/]+\/?[^/]+/
which i have tested