Closed FreePhoenix888 closed 1 year ago
This isn't related to globby.
This is about trying to load an un-transpiled TS file as an ES Module. I encountered the same thing in both vite
and vitest
configs when I tried to import ts
files from a different compilation scope. At least in my case, my vite conf was able to use ts imports from the same package, but not when I imported it from another package from the monorepo. (In my case it was a pnpm workspace, but I think a regular npm repo with ts-paths would do the same thing)
Gulp task:
If I comment the lines where globby is used error is missing