Closed EarthlingDavey closed 2 years ago
The original one is correct, it's named export.
ofc there must be some reason that only import globby from 'globby';
works with my setup.
Seems like you don't really mind. And I don't mind either :)
See ya 👎
I'm not the repo owner, the export is here https://github.com/sindresorhus/globby/blob/de4082b09dcd36f7053a4e63d3dff8994dee35e8/index.js#L123
ok sure thing. IDK why it would only play nice in my nextjs project without the {}
It seems
import {globby} from 'globby';
should beimport globby from 'globby';
so I have removed the{}
s.