I am working with Snowpack and trying to import a Typescript package from Github packages using the following code:
import SomeClass from '@myRepo/lib'
However, I keep getting an error message saying:
"/_snowpack/pkg/@myRepo.SomeClass.ts" is not a constructor
Interestingly, when I manually copy the class file to my local project and use a local import like this:
import SomeClass from './lib'
It actually works without any issues.